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 the specified user as an administrator.

Inheritance Hierarchy

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

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

Syntax

C#
public class AdminGetUserResponse : AmazonWebServiceResponse

The AdminGetUserResponse type exposes the following members

Constructors

NameDescription
Public Method AdminGetUserResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Enabled System.Boolean

Gets and sets the property Enabled.

Indicates that the status is enabled.

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.

Public Property UserCreateDate System.DateTime

Gets and sets the property UserCreateDate.

The date the user was created.

Public Property UserLastModifiedDate System.DateTime

Gets and sets the property UserLastModifiedDate.

The date and time, in ISO 8601 format, when the item was modified.

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.

Public Property UserStatus Amazon.CognitoIdentityProvider.UserStatusType

Gets and sets the property UserStatus.

The user status. Can be one of the following:

  • UNCONFIRMED - User has been created but not confirmed.

  • CONFIRMED - User has been confirmed.

  • UNKNOWN - User status isn't known.

  • RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.

  • FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.

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