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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • forceChangePasswordNextSignIn

      @SerializedName(value="forceChangePasswordNextSignIn", alternate="ForceChangePasswordNextSignIn") @Expose @Nullable public Boolean forceChangePasswordNextSignIn
      The 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 forceChangePasswordNextSignInWithMfa
      The 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

      @SerializedName(value="password", alternate="Password") @Expose @Nullable public String 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 interface com.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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to