Share via


GroupManager.UpdateGroupMembershipAsync Method (Guid, IList<Guid>, IList<Guid>)

 

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.Guid

    The GUID that identifies the group to update.

See Also

GroupManager Class
Microsoft.WindowsServerSolutions.Groups Namespace

Return to top