UserProps
Properties for defining a User.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-user
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ram;
new UserProps {
object UserName,
object Comments = null,
object DeletionForce = null,
object DisplayName = null,
object Email = null,
object Groups = null,
object LoginProfile = null,
object MobilePhone = null,
object Policies = null,
object PolicyAttachments = null
};
Properties
| Name | Type | Description |
|---|---|---|
UserName |
object |
Property userName: Specifies the user name, containing up to 64 characters. |
Comments |
object |
Property comments: Comments of ram user. |
DeletionForce |
object |
Property deletionForce: Whether force detach the policies and groups attached to the user. |
DisplayName |
object |
Property displayName: Display name, up to 128 characters or Chinese characters. |
Email |
object |
Property email: Email of ram user. |
Groups |
object |
Property groups: A name of a group to which you want to add the user. |
LoginProfile |
object |
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console. |
MobilePhone |
object |
Property mobilePhone: Phone number of ram user. |
Policies |
object |
Property policies: Describes what actions are allowed on what resources. |
PolicyAttachments |
object |
Property policyAttachments: System and custom policy names to attach. |
UserNameRequired
public object UserName { get; set; }
- Type: object
Property userName: Specifies the user name, containing up to 64 characters.
CommentsOptional
public object Comments { get; set; }
- Type: object
Property comments: Comments of ram user.
DeletionForceOptional
public object DeletionForce { get; set; }
- Type: object
Property deletionForce: Whether force detach the policies and groups attached to the user.
Default value is false.
DisplayNameOptional
public object DisplayName { get; set; }
- Type: object
Property displayName: Display name, up to 128 characters or Chinese characters.
EmailOptional
public object Email { get; set; }
- Type: object
Property email: Email of ram user.
GroupsOptional
public object Groups { get; set; }
- Type: object
Property groups: A name of a group to which you want to add the user.
LoginProfileOptional
public object LoginProfile { get; set; }
- Type: object
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
MobilePhoneOptional
public object MobilePhone { get; set; }
- Type: object
Property mobilePhone: Phone number of ram user.
PoliciesOptional
public object Policies { get; set; }
- Type: object
Property policies: Describes what actions are allowed on what resources.
PolicyAttachmentsOptional
public object PolicyAttachments { get; set; }
- Type: object
Property policyAttachments: System and custom policy names to attach.