Delen via


MicrosoftGraphPasswordCredential Class

Definition

passwordCredential

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

Constructors

MicrosoftGraphPasswordCredential()

Creates an new MicrosoftGraphPasswordCredential instance.

Fields

__additionalProperties

Properties

CustomKeyIdentifier

Do not use.

DisplayName

Friendly name for the password. Optional.

EndDateTime

The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

Hint

Contains the first three characters of the password. Read-only.

Item[String]
KeyId

The unique identifier for the password.

SecretText

Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.

StartDateTime

The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

Methods

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

Deserializes a IDictionary into an instance of MicrosoftGraphPasswordCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphPasswordCredential.

FromJson(JsonNode)

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

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphPasswordCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphPasswordCredential to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to