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.

Represents the response from the server from the request to get information about the user.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CognitoIdentityProvider.Model.GetUserResponse

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

Syntax

C#
public class GetUserResponse : AmazonWebServiceResponse

The GetUserResponse type exposes the following members

Constructors

NameDescription
Public Method GetUserResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property 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.

Public Property PreferredMfaSetting System.String

Gets and sets the property PreferredMfaSetting.

The user's preferred MFA setting.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property UserAttributes System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.AttributeType>

Gets and sets the property UserAttributes.

An array of name-value pairs representing user attributes.

For custom attributes, you must prepend the custom: prefix to the attribute name.

Public Property 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 SMS_MFA and SOFTWARE_TOKEN_MFA.

Public Property Username System.String

Gets and sets the property Username.

The username of the user that you requested.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5