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.
Asynchronously updates the membership of a user group.
Namespace: Microsoft.WindowsServerSolutions.Groups
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public void UpdateGroupMembershipAsync(
Guid groupId,
IList<Guid> membersToAdd,
IList<Guid> membersToRemove
)
public:
void UpdateGroupMembershipAsync(
Guid groupId,
IList<Guid>^ membersToAdd,
IList<Guid>^ membersToRemove
)
Public Sub UpdateGroupMembershipAsync (
groupId As Guid,
membersToAdd As IList(Of Guid),
membersToRemove As IList(Of Guid)
)
Parameters
groupId
Type: System.GuidThe GUID that identifies the group to update.
membersToAdd
Type: System.Collections.Generic.IList<Guid>A list of GUIDs that identify each member that is to be added to the group.
membersToRemove
Type: System.Collections.Generic.IList<Guid>A list of GUIDs that identify each member that is to be added to the group.
See Also
GroupManager Class
Microsoft.WindowsServerSolutions.Groups Namespace
Return to top