Skip to content

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.

UserPrincipalNameRequired

public object UserPrincipalName { get; set; }
  • Type: object

Property userPrincipalName: The login name of the RAM user.


GenerateRandomPasswordOptional

public object GenerateRandomPassword { get; set; }
  • Type: object

Property generateRandomPassword: Whether to generate a random password for the RAM user.


MfaBindRequiredOptional

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.

PasswordOptional

public object Password { get; set; }
  • Type: object

Property password: The password of the RAM user.


PasswordResetRequiredOptional

public object PasswordResetRequired { get; set; }
  • Type: object

Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.


StatusOptional

public object Status { get; set; }
  • Type: object

Property status: Enable or disable console password login.

Valid values:

  • Activate (default): Enable.
  • Inactivate: Disable.