編輯

共用方式為


passwordAuthenticationMethod resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

A representation of a user's password. For security, the password itself will never be returned in the object, but action can be taken to reset a password.

This is a derived type that inherits from the authenticationMethod resource type.

Methods

Method Return Type Description
List passwordAuthenticationMethod collection Read the properties and relationships of all of this user's passwordAuthenticationMethod objects.
Get passwordAuthenticationMethod Read the properties and relationships of a passwordAuthenticationMethod object.
Reset None Reset a user's password in the cloud and, if synced, on-premises.
Get long running operation None Get the status of the password reset long running operation if the reset operation returned a Location object.

Properties

Property Type Description
createdDateTime DateTimeOffset The date and time when this password was last updated. This property is currently not populated. Read-only. 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.
id String The identifier of this password registered to this user. This is generally 28c10230-6103-485e-b985-444c60001490. Read-only.
password String For security, the password is always returned as null from a LIST or GET operation.

Relationships

None.

The following JSON representation shows the resource type.

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.passwordAuthenticationMethod",
  "createdDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "password": "String"
}