passwordAuthenticationMethod 资源类型

命名空间:microsoft.graph

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

这是继承自 authenticationMethod 资源类型的派生类型。

方法

方法 返回类型 Description
List passwordAuthenticationMethod 集合 读取用户 passwordAuthenticationMethod 对象的属性和关系。
Get passwordAuthenticationMethod 读取用户的 passwordAuthenticationMethod 对象的属性和关系。
Reset None 在云和本地(如果已同步)中重置用户的密码。
获取长时间运行的操作 None 如果重置操作返回了 Location 对象,则获取密码重置长时间运行操作的状态。

属性

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

关系

无。 以下 JSON 表示形式显示了资源类型。

JSON 表示形式

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

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