Partager via


UserMgmtManager.UpdateUserContainerGroups Method (String, IList<Guid>, IList<Guid>)

 

Updates the groups the user belongs to.

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

Syntax

public void UpdateUserContainerGroups(
    string userName,
    IList<Guid> groupsToAdd,
    IList<Guid> groupsToRemove
)
public:
void UpdateUserContainerGroups(
    String^ userName,
    IList<Guid>^ groupsToAdd,
    IList<Guid>^ groupsToRemove
)
Public Sub UpdateUserContainerGroups (
    userName As String,
    groupsToAdd As IList(Of Guid),
    groupsToRemove As IList(Of Guid)
)

Parameters

See Also

UserMgmtManager Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top