listGroupMembers

Returns member information for the specified group.

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

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

Samples


fun main() { 
   //sampleStart 
   // The following command lists Marketing users in the trusted domain example. local.
val resp = directoryServiceDataClient.listGroupMembers {
    directoryId = "d-12233abcde"
    samAccountName = "marketing"
    memberRealm = "example.local"
    realm = "examplecorp.com"
} 
   //sampleEnd
}