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.

A user profile in a Amazon Cognito user pool.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.UserType

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

Syntax

C#
public class UserType

The UserType type exposes the following members

Constructors

NameDescription
Public Method UserType()

Properties

NameTypeDescription
Public Property Attributes System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.AttributeType>

Gets and sets the property Attributes.

Names and values of a user's attributes, for example email.

Public Property Enabled System.Boolean

Gets and sets the property Enabled.

Indicates whether the user's account is enabled or disabled.

Public Property MFAOptions System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.MFAOptionType>

Gets and sets the property MFAOptions.

The user's MFA configuration.

Public Property UserCreateDate System.DateTime

Gets and sets the property UserCreateDate.

The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

Public Property UserLastModifiedDate System.DateTime

Gets and sets the property UserLastModifiedDate.

The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

Public Property Username System.String

Gets and sets the property Username.

The user's username.

Public Property UserStatus Amazon.CognitoIdentityProvider.UserStatusType

Gets and sets the property UserStatus.

The user status. This can be one of the following:

  • UNCONFIRMED: User has been created but not confirmed.

  • CONFIRMED: User has been confirmed.

  • EXTERNAL_PROVIDER: User signed in with a third-party IdP.

  • 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.

The statuses ARCHIVED, UNKNOWN, and COMPROMISED are no longer used.

Version Information

.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