passwordAuthenticationMethod 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

用户密码的表示形式。 为安全,不会在对象中返回密码本身,但可以采取措施重置密码。

Methods

方法 返回类型 说明
列出 passwordAuthenticationMethods passwordAuthenticationMethod 集合 读取该用户的所有 passwordAuthenticationMethod 对象的属性和关系。
获取 passwordAuthenticationMethod passwordAuthenticationMethod 读取 passwordAuthenticationMethod 对象的属性和 关系。
重置密码 在云中重置用户密码,如果已同步,则重置本地密码。

属性

属性 类型 说明
creationDateTime DateTimeOffset 上次更新此密码的日期和时间。 此属性当前未填充。 只读。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
id 字符串 此密码的标识符已注册到此用户。 这通常是 28c10230-6103-485e-b985-444c60001490。 只读。
密码 String 为安全,始终从 LIST 或 GET 操作 null 返回密码。

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "creationDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "password": "String"
}