Skip to content

UserProps

Properties for defining a User.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edsuser-user

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkedsuser"
&alicloudroscdkedsuser.UserProps {
    EndUserId: interface{},
    AutoLockTime: interface{},
    BusinessChannel: interface{},
    Email: interface{},
    IsLocalAdmin: interface{},
    OrgId: interface{},
    OwnerType: interface{},
    Password: interface{},
    PasswordExpireDays: interface{},
    Phone: interface{},
    RealNickName: interface{},
    Remark: interface{},
}

Properties

Name Type Description
EndUserId interface{} Property endUserId: The name of the end user.
AutoLockTime interface{} Property autoLockTime: The date when the account is automatically locked.
BusinessChannel interface{} Property businessChannel: The business channel.
Email interface{} Property email: The email address of the end user.
IsLocalAdmin interface{} Property isLocalAdmin: Whether to set this convenient account as a local administrator.
OrgId interface{} Property orgId: The organization to which the end user belongs.
OwnerType interface{} Property ownerType: The type of the account ownership.
Password interface{} Property password: The initial password.
PasswordExpireDays interface{} Property passwordExpireDays: The default password is valid indefinitely.
Phone interface{} Property phone: Mobile numbers are not supported on the international site.
RealNickName interface{} Property realNickName: The display name of the user.
Remark interface{} Property remark: The remarks of the end user.

EndUserIdRequired

EndUserId interface{}
  • Type: interface{}

Property endUserId: The name of the end user.

The name must be 3 to 24 characters in length, and can contain lowercase letters, digits, and underscores (_).


AutoLockTimeOptional

AutoLockTime interface{}
  • Type: interface{}

Property autoLockTime: The date when the account is automatically locked.

Format: yyyy-MM-dd HH:mm:ss.


BusinessChannelOptional

BusinessChannel interface{}
  • Type: interface{}

Property businessChannel: The business channel.


EmailOptional

Email interface{}
  • Type: interface{}

Property email: The email address of the end user.

The email address is used to receive notifications about events such as desktop assignment. You must specify an email address or a mobile number to receive notifications.


IsLocalAdminOptional

IsLocalAdmin interface{}
  • Type: interface{}

Property isLocalAdmin: Whether to set this convenient account as a local administrator.


OrgIdOptional

OrgId interface{}
  • Type: interface{}

Property orgId: The organization to which the end user belongs.


OwnerTypeOptional

OwnerType interface{}
  • Type: interface{}

Property ownerType: The type of the account ownership.

Enumeration Value: CreateFromManager Normal


PasswordOptional

Password interface{}
  • Type: interface{}

Property password: The initial password.

If this parameter is left empty, an email for password reset is sent to the specified email address.


PasswordExpireDaysOptional

PasswordExpireDays interface{}
  • Type: interface{}

Property passwordExpireDays: The default password is valid indefinitely.

This parameter can be used to set a validity period of 30 to 365 days. When the password expires, the end user must change the password before logging in again.

This feature is currently in invitation-only testing. To try it, submit a ticket to enable it.


PhoneOptional

Phone interface{}
  • Type: interface{}

Property phone: Mobile numbers are not supported on the international site.


RealNickNameOptional

RealNickName interface{}
  • Type: interface{}

Property realNickName: The display name of the user.


RemarkOptional

Remark interface{}
  • Type: interface{}

Property remark: The remarks of the end user.


Protocols