v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141784109.3 KB

Returns group information for the specified member.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the ListGroupsForMember.NextToken member contains a token that you pass in the next call to ListGroupsForMember. This retrieves the next set of items.

You can also specify a maximum number of return results with the MaxResults parameter.

post/GroupMemberships/ListGroupsForMember#DirectoryId

Query parameters

DirectoryIdstring required

The identifier (ID) of the directory that's associated with the member.

Request body

MaxResultsinteger

The maximum number of results to be returned per request.

MemberRealmstring
<p> The domain name that's associated with the group member. </p> <note> <p> This parameter is optional, so you can limit your results to the group members in a specific domain. </p> <p> This parameter is case insensitive and defaults to <code>Realm</code> </p> </note>
NextTokenstring password

An encoded paging token for paginated calls that can be passed back to retrieve the next page.

Realmstring
<p> The domain name that's associated with the group. </p> <note> <p> This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned. </p> <p> This value is case insensitive and defaults to your Managed Microsoft AD domain. </p> </note>
SAMAccountNamestring required

The <code>SAMAccountName</code> of the user, group, or computer that's a member of the group.

Response

Success

DirectoryIdstring

The identifier (ID) of the directory that's associated with the member.

MemberRealmstring

The domain that's associated with the member.

NextTokenstring password

An encoded paging token for paginated calls that can be passed back to retrieve the next page.

Realmstring

The domain that's associated with the group.