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.

Container for the parameters to the CreateUser operation. Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.WorkMail.AmazonWorkMailRequest
      Amazon.WorkMail.Model.CreateUserRequest

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

Syntax

C#
public class CreateUserRequest : AmazonWorkMailRequest
         IAmazonWebServiceRequest

The CreateUserRequest type exposes the following members

Constructors

NameDescription
Public Method CreateUserRequest()

Properties

NameTypeDescription
Public Property DisplayName System.String

Gets and sets the property DisplayName.

The display name for the new user.

Public Property FirstName System.String

Gets and sets the property FirstName.

The first name of the new user.

Public Property HiddenFromGlobalAddressList System.Boolean

Gets and sets the property HiddenFromGlobalAddressList.

If this parameter is enabled, the user will be hidden from the address book.

Public Property LastName System.String

Gets and sets the property LastName.

The last name of the new user.

Public Property Name System.String

Gets and sets the property Name.

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

Public Property OrganizationId System.String

Gets and sets the property OrganizationId.

The identifier of the organization for which the user is created.

Public Property Password System.String

Gets and sets the property Password.

The password for the new user.

Public Property Role Amazon.WorkMail.UserRole

Gets and sets the property Role.

The role of the new user.

You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

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