UserMgmtManager Class
Represents the operations that are used to manage User objects.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Users.UserMgmtManager
Syntax
public class UserMgmtManager : INotifyPropertyChanged, IDisposable
public ref class UserMgmtManager : INotifyPropertyChanged, IDisposable
Public Class UserMgmtManager
Implements INotifyPropertyChanged, IDisposable
Constructors
Name | Description | |
---|---|---|
![]() |
UserMgmtManager() | Initializes a new instance of the UserMgmtManager class. |
Properties
Name | Description | |
---|---|---|
![]() |
Connected | Gets the status of the connection to the User Provider. |
Methods
Name | Description | |
---|---|---|
![]() |
AddUser(String, PersonalInfo) | Adds a new user account with the specified user name and personal information. |
![]() |
AddUser(String, SecureString, PersonalInfo) | Adds a new user account, using the specified name, password, and user information. |
![]() |
AddUserAsync(String, PersonalInfo) | Asynchronously adds a new user account with the specified user name and personal information. |
![]() |
AddUserAsync(String, SecureString, PersonalInfo) | synchronously adds a new user account with the specified user name, password, and personal information. |
![]() |
Connect() | Connects to the User Provider. |
![]() |
ConnectAsync() | Asynchronously connects the User Manager with the User Provider. |
![]() |
ConnectAsync(TimeSpan) | Asynchronously connects to the User Manager with the User Provider with the specified timeout period. |
![]() |
Dispose() | Release all resources that are used by the UserMgmtManager object. |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the UserMgmtManager object and optionally releases the managed resources. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetConnectedDC() | Gets the connected DC. |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
GetUser(SecurityIdentifier) | Gets the User object from the cache. |
![]() |
GetUser(String) | Gets the User object from the cache. |
![]() |
GetUserFromProvider(String) | Gets the User object from the User Provider. |
![]() |
GetUsers() | Gets a collection of User objects. |
![]() |
ImportUser(String) | Imports the specified user account. |
![]() |
ImportUserAsync(String) | Obsolete. Asynchronously imports the specified user account. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ReloadUsers() | Reloads the users. |
![]() |
ReloadUsersAsync() | Asynchronously reloads the users. |
![]() |
RemoveUser(String) | Removes the specified user account. |
![]() |
RemoveUserAsync(String) | Asynchronously removes the specified user account. |
![]() |
Sync() | Obsolete. Synchronizes settings between the User Provider and Active Directory Domain Services. |
![]() |
SyncAsync() | Obsolete. Asynchronously synchronizes the settings between the User Provider and Active Directory Domain Services. |
![]() |
ToString() | (Inherited from Object.) |
![]() |
UnregUserEvent() | Unregisters the UserEvent. |
![]() |
UpdateUser(UserInfo) | Updates the user account with the specified information. |
![]() |
UpdateUserAsync(UserInfo) | Asynchronously updates the user account with the specified information. |
![]() |
UpdateUserContainerGroups(String, IList<Guid>, IList<Guid>) | Updates the groups the user belongs to. |
![]() |
UpdateUserContainerGroupsAsync(String, IList<Guid>, IList<Guid>) | Asynchronously updates the groups the user belongs to. |
![]() |
UserRemains() | Returns the number of user accounts that can be added. |
![]() |
UserRemains(Boolean) | Obsolete. Returns the number of user accounts that can be added. |
Events
Name | Description | |
---|---|---|
![]() |
AddUserRequestCompletionCallback | Represents the callback for the event that is raised when a new user account is requested. |
![]() |
ConnectRequestCompletionCallback | Represents the callback for the event that is raised when connection is requested. |
![]() |
ConnectTimeoutCallback | Represents the event for the callback of ConnectTimeout. |
![]() |
ImportUserRequestCompletionCallback | Represents the callback for the event that is raised when an import of a user account is requested. |
![]() |
PropertyChanged | Represents the callback for the event that is raised when a property for a user account is changed. |
![]() |
ReloadUsersAsyncRequestCompleted | Occurs when an asynchronous request for a user reload is completed. |
![]() |
RemoveUserRequestCompletionCallback | Represents the callback for the event that is raised when a user account is requested to be removed. |
![]() |
SyncRequestCompletionCallback | Represents the callback for the event that is raised when a synchronization of data is requested. |
![]() |
UpdateUserRequestCompletionCallback | Represents the callback for the event that is raised when an update to a user account is requested. |
![]() |
UserAddedCallback | Represents the callback for the event that is raised when a user account is added. |
![]() |
UserRemovedCallback | Represents the callback for the event that is raised when a user account is removed. |
![]() |
UserUpdatedCallback | Represents the callback for the event that is raised when a user account is updated. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Users Namespace
Return to top