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.
Namespace: Amazon.WorkMail.Model
Assembly: AWSSDK.WorkMail.dll
Version: 3.x.y.z
public class CreateUserRequest : AmazonWorkMailRequest IAmazonWebServiceRequest
The CreateUserRequest type exposes the following members
Name | Description | |
---|---|---|
CreateUserRequest() |
Name | Type | Description | |
---|---|---|---|
DisplayName | System.String |
Gets and sets the property DisplayName. The display name for the new user. |
|
FirstName | System.String |
Gets and sets the property FirstName. The first name of the new user. |
|
HiddenFromGlobalAddressList | System.Boolean |
Gets and sets the property HiddenFromGlobalAddressList. If this parameter is enabled, the user will be hidden from the address book. |
|
LastName | System.String |
Gets and sets the property LastName. The last name of the new user. |
|
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. |
|
OrganizationId | System.String |
Gets and sets the property OrganizationId. The identifier of the organization for which the user is created. |
|
Password | System.String |
Gets and sets the property Password. The password for the new user. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5