你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPasswordProfile Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPasswordProfile
- com.
Implements
public final class MicrosoftGraphPasswordProfile
implements JsonSerializable<MicrosoftGraphPasswordProfile>
passwordProfile.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPasswordProfile() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
forceChangePasswordNextSignIn()
Get the force |
Boolean |
forceChangePasswordNextSignInWithMfa()
Get the force |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
password()
Get the password property: The password for the user. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withForceChangePasswordNextSignIn(Boolean forceChangePasswordNextSignIn)
Set the force |
Microsoft |
withForceChangePasswordNextSignInWithMfa(Boolean forceChangePasswordNextSignInWithMfa)
Set the force |
Microsoft |
withPassword(String password)
Set the password property: The password for the user. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPasswordProfile
public MicrosoftGraphPasswordProfile()
Creates an instance of MicrosoftGraphPasswordProfile class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: passwordProfile.
Returns:
forceChangePasswordNextSignIn
public Boolean forceChangePasswordNextSignIn()
Get the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.
Returns:
forceChangePasswordNextSignInWithMfa
public Boolean forceChangePasswordNextSignInWithMfa()
Get the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
Returns:
fromJson
public static MicrosoftGraphPasswordProfile fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPasswordProfile from the JsonReader.
Parameters:
Returns:
Throws:
password
public String password()
Get the password property: The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user\u2019s passwordPolicies property. By default, a strong password is required.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPasswordProfile withAdditionalProperties(Map
Set the additionalProperties property: passwordProfile.
Parameters:
Returns:
withForceChangePasswordNextSignIn
public MicrosoftGraphPasswordProfile withForceChangePasswordNextSignIn(Boolean forceChangePasswordNextSignIn)
Set the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.
Parameters:
Returns:
withForceChangePasswordNextSignInWithMfa
public MicrosoftGraphPasswordProfile withForceChangePasswordNextSignInWithMfa(Boolean forceChangePasswordNextSignInWithMfa)
Set the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
Parameters:
Returns:
withPassword
public MicrosoftGraphPasswordProfile withPassword(String password)
Set the password property: The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user\u2019s passwordPolicies property. By default, a strong password is required.
Parameters:
Returns: