UserProps
Properties for defining a User.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-user
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cloudsso;
new UserProps {
object DirectoryId,
object UserName,
object Description = null,
object DisplayName = null,
object Email = null,
object FirstName = null,
object LastName = null,
object Status = null
};
Properties
| Name | Type | Description |
|---|---|---|
DirectoryId |
object |
Property directoryId: The ID of the directory. |
UserName |
object |
Property userName: The name of the user. |
Description |
object |
Property description: The description of the user. |
DisplayName |
object |
Property displayName: The display name of the user. |
Email |
object |
Property email: The email address of the user. |
FirstName |
object |
Property firstName: The first name of the user. |
LastName |
object |
Property lastName: The last name of the user. |
Status |
object |
Property status: The status of the user. |
DirectoryIdRequired
public object DirectoryId { get; set; }
- Type: object
Property directoryId: The ID of the directory.
UserNameRequired
public object UserName { get; set; }
- Type: object
Property userName: The name of the user.
The name must be unique within the directory. The name cannot be changed. The name can contain numbers, letters, and the following special characters: @_-. The name can be up to 64 characters in length.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of the user.
The description can be up to 1,024 characters in length.
DisplayNameOptional
public object DisplayName { get; set; }
- Type: object
Property displayName: The display name of the user.
The name can be up to 256 characters in length.
EmailOptional
public object Email { get; set; }
- Type: object
Property email: The email address of the user.
The email address must be unique within the directory. The email address can be up to 128 characters in length.
FirstNameOptional
public object FirstName { get; set; }
- Type: object
Property firstName: The first name of the user.
The name can be up to 64 characters in length.
LastNameOptional
public object LastName { get; set; }
- Type: object
Property lastName: The last name of the user.
The name can be up to 64 characters in length.
StatusOptional
public object Status { get; set; }
- Type: object
Property status: The status of the user.
Valid values:
- Enabled: The logon of the user is enabled. This is the default value.
- Disabled: The logon of the user is disabled.