AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListUsers operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectoryServiceData.AmazonDirectoryServiceDataRequest
      Amazon.DirectoryServiceData.Model.ListUsersRequest

Namespace: Amazon.DirectoryServiceData.Model
Assembly: AWSSDK.DirectoryServiceData.dll
Version: 3.x.y.z

Syntax

C#
public class ListUsersRequest : AmazonDirectoryServiceDataRequest
         IAmazonWebServiceRequest

The ListUsersRequest type exposes the following members

Constructors

NameDescription
Public Method ListUsersRequest()

Properties

NameTypeDescription
Public Property DirectoryId System.String

Gets and sets the property DirectoryId.

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

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to be returned per request.

Public Property NextToken System.String

Gets and sets the property NextToken.

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

Public Property Realm System.String

Gets and sets the property Realm.

The domain name that's associated with the user.

This parameter is optional, so you can return users outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD users are returned.

This value is case insensitive.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5