Returns information about a specific user.
Query parameters
The identifier (ID) of the directory that's associated with the user.
Request body
One or more attribute names to be returned for the user. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html">Directory Service Data Attributes</a>.
The name of the user.
Response
Success
The identifier (ID) of the directory that's associated with the user.
The <a href="https://learn.microsoft.com/en-us/windows/win32/ad/object-names-and-identities#distinguished-name">distinguished name</a> of the object.
The email address of the user.
Indicates whether the user account is active.
The first name of the user.
The domain name that's associated with the user.
The name of the user.
The unique security identifier (SID) of the user.
The last name of the user.
The UPN that is an Internet-style login name for a user and is based on the Internet standard <a href="https://datatracker.ietf.org/doc/html/rfc822">RFC 822</a>. The UPN is shorter than the distinguished name and easier to remember.