emailAuthenticationMethod 资源类型

命名空间:microsoft.graph

重要

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

向用户注册的电子邮件地址的表示形式。 Email是一种身份验证方法,仅适用于自助式密码重置 (SSPR) 。 用户只能有一种电子邮件身份验证方法。

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

方法

方法 返回类型 Description
List emailAuthenticationMethod 集合 检索用户的 emailAuthenticationMethods 的列表。 用户只能有一种电子邮件身份验证方法。
添加 emailAuthenticationMethod 创建用户的 emailMethod 对象。
Get emailAuthenticationMethod 检索用户的 emailAuthenticationMethod 对象的属性。
更新 emailAuthenticationMethod 更新用户的 emailMethods 对象的属性。
删除 无 删除用户的 emailAuthenticationMethod 对象。

属性

属性 类型 说明
id String 注册到此用户的电子邮件地址的标识符。 ID 始终 3ddfcfc8-9383-446f-83cc-3ab9be4be18f为 .
createdDateTime DateTimeOffset 向用户注册身份验证方法的日期和时间。 只读。 可选。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。
lastUsedDateTime DateTimeOffset 用户上次使用身份验证方法的日期和时间。 只读。 可选。 如果身份验证方法未填充此可选值,则表示 null 此可选值。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 继承自 authenticationMethod。
emailAddress String 注册到此用户的电子邮件地址。

关系

无。

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.emailAuthenticationMethod",
  "createdDateTime": "String (timestamp)",
  "lastUsedDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "emailAddress": "String"
}