credentialUsageSummary 资源类型

命名空间:microsoft.graph

重要

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

重要

凭据使用情况摘要详细信息 API 已弃用,将于 2025 年 8 月 1 日停止返回数据。 请改用新的 用户注册活动摘要 API。

表示组织中有多少用户使用自助密码重置功能的当前状态。 有关此功能的许可证要求的详细信息,请参阅 身份验证方法活动:权限和许可证

方法

方法 返回类型 Description
List credentialUsageSummary 读取 credentialUsageSummary 对象的属性和关系。

属性

属性 类型 说明
authMethod usageAuthMethod 表示用户使用的身份验证方法。 可能的值为:email、、mobileSMS、、mobileCallmicrosoftAuthenticatorPushalternateMobileCallappCodefidoappNotificationsecurityQuestionofficePhoneappPasswordunknownFutureValuemicrosoftAuthenticatorPasswordlesswindowsHelloForBusinesstemporaryAccessPasshardwareOneTimePasscodemacOsSecureEnclaveKeypassKeyDeviceBoundpassKeyDeviceBoundWindowsHellomobilePhonesmssoftwareOneTimePasscodeexternalAuthMethodpassKeyDeviceBoundAuthenticatoralternateMobilePhonefido2SecurityKeyoneTimePasscode、 。 passKeySynced Prefer: include-unknown-enum-members使用请求标头从此可演变枚举中获取以下值: externalAuthMethod 、、 hardwareOneTimePasscode 、、 microsoftAuthenticatorPasswordlesspassKeyDeviceBoundAuthenticatortemporaryAccessPasswindowsHelloForBusinessmacOsSecureEnclaveKeypassKeyDeviceBoundpassKeyDeviceBoundWindowsHellosmsmobilePhonesoftwareOneTimePasscodemicrosoftAuthenticatorPushalternateMobilePhonefido2SecurityKeyoneTimePasscode 、 。 passKeySynced
failureActivityCount Int64 提供失败的重置或注册数据的计数。
特征 featureType 定义要报告的功能。 可能的值包括 registrationresetunknownFutureValue
id String 活动的唯一标识符。 只读。
successfulActivityCount Int64 提供成功注册或重置的计数。

关系

无。

JSON 表示形式

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

{
  "id" : "String",
  "feature":"string",
  "successfulActivityCount":"Int64",
  "failureActivityCount": "Int64",
  "authMethod": "string"
}