Skip to content

UserProps

Properties for defining a User.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudsso"
&alicloudroscdkcloudsso.UserProps {
    DirectoryId: interface{},
    UserName: interface{},
    Description: interface{},
    DisplayName: interface{},
    Email: interface{},
    FirstName: interface{},
    LastName: interface{},
    Status: interface{},
}

Properties

Name Type Description
DirectoryId interface{} Property directoryId: The ID of the directory.
UserName interface{} Property userName: The name of the user.
Description interface{} Property description: The description of the user.
DisplayName interface{} Property displayName: The display name of the user.
Email interface{} Property email: The email address of the user.
FirstName interface{} Property firstName: The first name of the user.
LastName interface{} Property lastName: The last name of the user.
Status interface{} Property status: The status of the user.

DirectoryIdRequired

DirectoryId interface{}
  • Type: interface{}

Property directoryId: The ID of the directory.


UserNameRequired

UserName interface{}
  • Type: interface{}

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

Description interface{}
  • Type: interface{}

Property description: The description of the user.

The description can be up to 1,024 characters in length.


DisplayNameOptional

DisplayName interface{}
  • Type: interface{}

Property displayName: The display name of the user.

The name can be up to 256 characters in length.


EmailOptional

Email interface{}
  • Type: interface{}

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

FirstName interface{}
  • Type: interface{}

Property firstName: The first name of the user.

The name can be up to 64 characters in length.


LastNameOptional

LastName interface{}
  • Type: interface{}

Property lastName: The last name of the user.

The name can be up to 64 characters in length.


StatusOptional

Status interface{}
  • Type: interface{}

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.