User Group Memberships

Quick Navigation

GET Users/{userID}/UserGroups

Returns the User Group Memberships for an existing User.

User Accounts Management (Read)

userID: ID of the User.

None

Content-Type: application/json

[
    {
        GroupID : int, 
        Name : string,
        DistinguishedName : string, 
        GroupType : string, 
        AccountAttribute : string, 
        MembershipAttribute : string,
        IsActive : bool
    },
    …
]

200 – Request successful. User Group in the response body.

For more information, please see Common Response Codes.

POST Users/{userID}/UserGroups/{userGroupID}

Adds an existing User to a User Group.

User Accounts Management (Read/Write)

  • userID: ID of the User.
  • userGroupID: ID of the User Group.

None

Content-Type: application/json

{
    GroupID : int, Name : string,
    DistinguishedName : string, 
    GroupType : string, 
    AccountAttribute : string, 
    MembershipAttribute : string,
    IsActive : bool
}

201 – Request successful. User Group in the response body.

For more information, please see Common Response Codes.

DELETE Users/{userID}/UserGroups/{userGroupID}

Removes a User from a User Group.

User Accounts Management (Read/Write)

  • userID: ID of the User.
  • userGroupID: ID of the User Group.

None

200 – Request successful.

For more information, please see Common Response Codes.