listUsers

Returns user information for the specified directory.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the ListUsers.NextToken member contains a token that you pass in the next call to ListUsers. 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 users on the examplecorp. com domain.
val resp = directoryServiceDataClient.listUsers {
    directoryId = "d-12233abcde"
    realm = "examplecorp.com"
} 
   //sampleEnd
}