Partager via


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

 

Updates the membership of a user group.

Namespace:   Microsoft.WindowsServerSolutions.Groups
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

public void UpdateGroupMembership(
    Guid groupId,
    IList<Guid> membersToAdd,
    IList<Guid> membersToRemove
)
public:
void UpdateGroupMembership(
    Guid groupId,
    IList<Guid>^ membersToAdd,
    IList<Guid>^ membersToRemove
)
Public Sub UpdateGroupMembership (
    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