Partager via


MicrosoftGraphPasswordProfile Class

Definition

passwordProfile

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordProfileTypeConverter))]
public class MicrosoftGraphPasswordProfile : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordProfile, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordProfileTypeConverter))>]
type MicrosoftGraphPasswordProfile = class
    interface IMicrosoftGraphPasswordProfile
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class MicrosoftGraphPasswordProfile
Implements IAssociativeArray(Of Object), IMicrosoftGraphPasswordProfile
Inheritance
MicrosoftGraphPasswordProfile
Attributes
Implements

Constructors

MicrosoftGraphPasswordProfile()

Creates an new MicrosoftGraphPasswordProfile instance.

Fields

__additionalProperties

Properties

ForceChangePasswordNextSignIn

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

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.

Item[String]
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.

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphPasswordProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphPasswordProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordProfile.

FromJsonString(String)

Creates a new instance of MicrosoftGraphPasswordProfile, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphPasswordProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphPasswordProfile to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to