LoginProfileProps
Properties for defining a LoginProfile
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-loginprofile
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ram;
new LoginProfileProps {
object UserPrincipalName,
object GenerateRandomPassword = null,
object MfaBindRequired = null,
object Password = null,
object PasswordResetRequired = null,
object Status = null
};
Properties
Name | Type | Description |
---|---|---|
UserPrincipalName |
object |
Property userPrincipalName: The login name of the RAM user. |
GenerateRandomPassword |
object |
Property generateRandomPassword: Whether to generate a random password for the RAM user. |
MfaBindRequired |
object |
Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication. |
Password |
object |
Property password: The password of the RAM user. |
PasswordResetRequired |
object |
Property passwordResetRequired: Whether RAM users must reset their password the next time they log in. |
Status |
object |
Property status: Enable or disable console password login. |
UserPrincipalName
Required
public object UserPrincipalName { get; set; }
- Type: object
Property userPrincipalName: The login name of the RAM user.
GenerateRandomPassword
Optional
public object GenerateRandomPassword { get; set; }
- Type: object
Property generateRandomPassword: Whether to generate a random password for the RAM user.
MfaBindRequired
Optional
public object MfaBindRequired { get; set; }
- Type: object
Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.
Valid values:
- true: This is required. RAM users must bind the multifactor authentication device the next time they log in.
- false (default) : This is not required.
Password
Optional
public object Password { get; set; }
- Type: object
Property password: The password of the RAM user.
PasswordResetRequired
Optional
public object PasswordResetRequired { get; set; }
- Type: object
Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.
Status
Optional
public object Status { get; set; }
- Type: object
Property status: Enable or disable console password login.
Valid values:
- Activate (default): Enable.
- Inactivate: Disable.