Package com.microsoft.graph.models
Class PasswordProfile
java.lang.Object
com.microsoft.graph.models.PasswordProfile
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class PasswordProfile
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Password Profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Force Change Password Next Sign In.The Force Change Password Next Sign In With Mfa.the OData type of the object as returned by the serviceThe Password. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
forceChangePasswordNextSignIn
@SerializedName(value="forceChangePasswordNextSignIn", alternate="ForceChangePasswordNextSignIn") @Expose @Nullable public Boolean forceChangePasswordNextSignInThe Force Change Password Next Sign In. true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon. -
forceChangePasswordNextSignInWithMfa
@SerializedName(value="forceChangePasswordNextSignInWithMfa", alternate="ForceChangePasswordNextSignInWithMfa") @Expose @Nullable public Boolean forceChangePasswordNextSignInWithMfaThe Force Change Password Next Sign In With Mfa. 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. -
password
The Password. 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’s passwordPolicies property. By default, a strong password is required.
-
-
Constructor Details
-
PasswordProfile
public PasswordProfile()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-