Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Manages user groups.
Namespace: Microsoft.WindowsServerSolutions.Groups
Assembly: UserObjectModel (in UserObjectModel.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Groups.GroupManager
Syntax
public class GroupManager : INotifyPropertyChanged, IDisposable
public ref class GroupManager : INotifyPropertyChanged, IDisposable
Public Class GroupManager
Implements INotifyPropertyChanged, IDisposable
Constructors
| Name | Description | |
|---|---|---|
![]() |
GroupManager() | Creates and initializes a new instance of the GroupManager class. |
Properties
| Name | Description | |
|---|---|---|
![]() |
Connected | Verifies whether the instance of GroupManager is connected to the Group provider. |
Methods
| Name | Description | |
|---|---|---|
![]() |
AddGroup(String, GroupDetailInfo) | Adds a user group account with the specified group name and group information. |
![]() |
AddGroupAsync(String, GroupDetailInfo) | Asynchronously adds a new user group account with the specified group name and group information. |
![]() |
Connect() | Establishes a connection between the GroupManager object and the group provider. |
![]() |
ConnectAsync() | Asynchronously establishes a connection between the GroupManager object and the group provider. |
![]() |
ConnectAsync(TimeSpan) | Asynchronously establishes a connection between the GroupManager object and the group provider with a specified timeout period. |
![]() |
Dispose() | Releases all resources that are used by the GroupManager object. |
![]() |
Dispose(Boolean) | Releases all resources that are used by the GroupManager object. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetGroup(SecurityIdentifier) | Retrieves a Group object from the cache by SecurityIdentifier. |
![]() |
GetGroup(String) | Retrieves a Group object from the cache by group name. |
![]() |
GetGroups() | Retrieves a collection of Group objects. |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ReloadGroups() | Synchronizes the settings between the group provider and Active Directory Domain Services. |
![]() |
ReloadGroupsAsync() | Asynchronously synchronizes the settings between the group provider and Active Directory Domain Services. |
![]() |
RemoveGroup(Guid) | Removes the specified user group from the group provider. |
![]() |
RemoveGroupAsync(Guid) | Asynchronously removes a user group from the group provider. |
![]() |
ToString() | (Inherited from Object.) |
![]() |
UnregisterGroupEvent() | Removes the registration of a GroupManager event. |
![]() |
UpdateGroup(GroupInfo) | Updates information about a user group. |
![]() |
UpdateGroupAsync(GroupInfo) | Asynchronously updates information about a user group. |
![]() |
UpdateGroupMembership(Guid, IList<Guid>, IList<Guid>) | Updates the membership of a user group. |
![]() |
UpdateGroupMembershipAsync(Guid, IList<Guid>, IList<Guid>) | Asynchronously updates the membership of a user group. |
Events
| Name | Description | |
|---|---|---|
![]() |
AddGroupRequestCompletedCallback | The callback to invoke during the event that is fired when there is a request to add a new user group to the group provider. |
![]() |
ConnectRequestCompletedCallback | The callback to invoke during the event that is fired when there is a request to establish a connection between a GroupManager object and the group provider. |
![]() |
ConnectTimeoutCallback | The callback to invoke during the ConnectTimeout event. |
![]() |
GroupAddedCallback | The callback to invoke during the event that is fired when a group account is added to the group provider. |
![]() |
GroupRemovedCallback | The callback to invoke during the event that is fired when a group account is removed from the group provider. |
![]() |
GroupUpdatedCallback | The callback to invoke during the event that is fired when a group account is updated. |
![]() |
PropertyChanged | The callback to invoke during the event that is fired when a property for a group account is changed. |
![]() |
ReloadGroupsAsyncRequestCompleted | The callback to invoke during the event that is fired when there is a request to synchronize settings between the group provider and Active Directory Domain Services. |
![]() |
RemoveGroupRequestCompletedCallback | The callback to invoke during the event that is fired when there is a request to remove a group account from the group provider. |
![]() |
UpdateGroupRequestCompletedCallback | The callback to invoke during the event that is fired when there is a request to update a group account. |
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.Groups Namespace
Return to top
.jpeg)
.jpeg)
.jpeg)
.jpeg)