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
System_CAPS_pubmethod UserMgmtManager()

Initializes a new instance of the UserMgmtManager class.

Properties

Name Description
System_CAPS_pubproperty Connected

Gets the status of the connection to the User Provider.

Methods

Name Description
System_CAPS_pubmethod AddUser(String, PersonalInfo)

Adds a new user account with the specified user name and personal information.

System_CAPS_pubmethod AddUser(String, SecureString, PersonalInfo)

Adds a new user account, using the specified name, password, and user information.

System_CAPS_pubmethod AddUserAsync(String, PersonalInfo)

Asynchronously adds a new user account with the specified user name and personal information.

System_CAPS_pubmethod AddUserAsync(String, SecureString, PersonalInfo)

synchronously adds a new user account with the specified user name, password, and personal information.

System_CAPS_pubmethod Connect()

Connects to the User Provider.

System_CAPS_pubmethod ConnectAsync()

Asynchronously connects the User Manager with the User Provider.

System_CAPS_pubmethod ConnectAsync(TimeSpan)

Asynchronously connects to the User Manager with the User Provider with the specified timeout period.

System_CAPS_pubmethod Dispose()

Release all resources that are used by the UserMgmtManager object.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the UserMgmtManager object and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetConnectedDC()

Gets the connected DC.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUser(SecurityIdentifier)

Gets the User object from the cache.

System_CAPS_pubmethod GetUser(String)

Gets the User object from the cache.

System_CAPS_pubmethod GetUserFromProvider(String)

Gets the User object from the User Provider.

System_CAPS_pubmethod GetUsers()

Gets a collection of User objects.

System_CAPS_pubmethod ImportUser(String)

Imports the specified user account.

System_CAPS_pubmethod ImportUserAsync(String)

Obsolete. Asynchronously imports the specified user account.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ReloadUsers()

Reloads the users.

System_CAPS_pubmethod ReloadUsersAsync()

Asynchronously reloads the users.

System_CAPS_pubmethod RemoveUser(String)

Removes the specified user account.

System_CAPS_pubmethod RemoveUserAsync(String)

Asynchronously removes the specified user account.

System_CAPS_pubmethod Sync()

Obsolete. Synchronizes settings between the User Provider and Active Directory Domain Services.

System_CAPS_pubmethod SyncAsync()

Obsolete. Asynchronously synchronizes the settings between the User Provider and Active Directory Domain Services.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UnregUserEvent()

Unregisters the UserEvent.

System_CAPS_pubmethod UpdateUser(UserInfo)

Updates the user account with the specified information.

System_CAPS_pubmethod UpdateUserAsync(UserInfo)

Asynchronously updates the user account with the specified information.

System_CAPS_pubmethod UpdateUserContainerGroups(String, IList<Guid>, IList<Guid>)

Updates the groups the user belongs to.

System_CAPS_pubmethod UpdateUserContainerGroupsAsync(String, IList<Guid>, IList<Guid>)

Asynchronously updates the groups the user belongs to.

System_CAPS_pubmethod UserRemains()

Returns the number of user accounts that can be added.

System_CAPS_pubmethod UserRemains(Boolean)

Obsolete. Returns the number of user accounts that can be added.

Events

Name Description
System_CAPS_pubevent AddUserRequestCompletionCallback

Represents the callback for the event that is raised when a new user account is requested.

System_CAPS_pubevent ConnectRequestCompletionCallback

Represents the callback for the event that is raised when connection is requested.

System_CAPS_pubevent ConnectTimeoutCallback

Represents the event for the callback of ConnectTimeout.

System_CAPS_pubevent ImportUserRequestCompletionCallback

Represents the callback for the event that is raised when an import of a user account is requested.

System_CAPS_pubevent PropertyChanged

Represents the callback for the event that is raised when a property for a user account is changed.

System_CAPS_pubevent ReloadUsersAsyncRequestCompleted

Occurs when an asynchronous request for a user reload is completed.

System_CAPS_pubevent RemoveUserRequestCompletionCallback

Represents the callback for the event that is raised when a user account is requested to be removed.

System_CAPS_pubevent SyncRequestCompletionCallback

Represents the callback for the event that is raised when a synchronization of data is requested.

System_CAPS_pubevent UpdateUserRequestCompletionCallback

Represents the callback for the event that is raised when an update to a user account is requested.

System_CAPS_pubevent UserAddedCallback

Represents the callback for the event that is raised when a user account is added.

System_CAPS_pubevent UserRemovedCallback

Represents the callback for the event that is raised when a user account is removed.

System_CAPS_pubevent 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