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.
Represents the response from the server from the request to get information about the user.
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class GetUserResponse : AmazonWebServiceResponse
The GetUserResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetUserResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
MFAOptions | System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.MFAOptionType> |
Gets and sets the property MFAOptions. This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. |
![]() |
PreferredMfaSetting | System.String |
Gets and sets the property PreferredMfaSetting. The user's preferred MFA. Users can prefer SMS message, email message, or TOTP MFA. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
UserAttributes | System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.AttributeType> |
Gets and sets the property UserAttributes. An array of name-value pairs representing user attributes.
Custom attributes are prepended with the |
![]() |
UserMFASettingList | System.Collections.Generic.List<System.String> |
Gets and sets the property UserMFASettingList.
The MFA options that are activated for the user. The possible values in this list
are |
![]() |
Username | System.String |
Gets and sets the property Username. The name of the user that you requested. |
.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