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.

The configuration for creating a new user profile.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.AdminCreateUserConfigType

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

Syntax

C#
public class AdminCreateUserConfigType

The AdminCreateUserConfigType type exposes the following members

Constructors

NameDescription
Public Method AdminCreateUserConfigType()

Properties

NameTypeDescription
Public Property AllowAdminCreateUserOnly System.Boolean

Gets and sets the property AllowAdminCreateUserOnly.

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

Public Property InviteMessageTemplate Amazon.CognitoIdentityProvider.Model.MessageTemplateType

Gets and sets the property InviteMessageTemplate.

The message template to be used for the welcome message to new users.

See also Customizing User Invitation Messages.

Public Property UnusedAccountValidityDays System.Int32

Gets and sets the property UnusedAccountValidityDays.

The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7.

If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and UnusedAccountValidityDays will be no longer be an available parameter for that user pool.

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