User
A user object that contains identifying information and attributes for a specified user.
Contents
- SAMAccountName
-
The name of the user.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern:
^[\w\-.]+$
Required: Yes
- DistinguishedName
-
The distinguished name
of the object. Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
- EmailAddress
-
The email address of the user.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
- Enabled
-
Indicates whether the user account is active.
Type: Boolean
Required: No
- GivenName
-
The first name of the user.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Required: No
- OtherAttributes
-
An expression that includes one or more attributes, data types, and values of a user.
Type: String to AttributeValue object map
Map Entries: Maximum number of 25 items.
Key Length Constraints: Minimum length of 1. Maximum length of 63.
Key Pattern:
^[A-Za-z*][A-Za-z-*]*$
Required: No
- SID
-
The unique security identifier (SID) of the user.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
- Surname
-
The last name of the user.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Required: No
- UserPrincipalName
-
The UPN that is an internet-style login name for a user and based on the internet standard RFC 822
. The UPN is shorter than the distinguished name and easier to remember. Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: