userSecurityState 资源类型 (已弃用)

命名空间:microsoft.graph

重要

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

重要

旧版警报 API 已弃用,将于 2026 年 10 月 15 日停用。 迁移到新的 警报和事件 API。 有关详细信息,请参阅 从旧警报迁移到警报和事件 API。

包含有关用户帐户的有状态信息。

属性

属性 类型 说明
aadUserId String AAD 用户对象标识符 (GUID) - 表示物理/多帐户用户实体。
accountName String 没有 Active Directory 域或 DNS 域) 的用户帐户 (的帐户名 - (也称为 mailNickName) 。
domainName String 用户帐户 (的 NetBIOS/Active Directory 域,即域\帐户格式) 。
emailRole emailRole 对于与电子邮件相关的警报 - 用户帐户的电子邮件“角色”。 可能的值包括 unknown、sender、recipient。
isVpn 布尔值 指示用户是否通过 VPN 登录。
logonDateTime DateTimeOffset 登录的时间。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。
logonId String 用户登录 ID。
logonIp String 源自登录请求的 IP 地址。
logonLocation String 通过 IP 地址映射 (的位置) 与此用户的用户登录事件相关联。
logonType logonType 用户登录方法。 可能的值包括 unknown、interactive、remoteInteractive、network、batch、service。
onPremisesSecurityIdentifier String Active Directory (本地) 用户的安全标识符 (SID) 。
riskScore String 提供商生成/计算的用户帐户风险评分。 建议的值范围为 0-1,相当于百分比。
userAccountType userAccountSecurityType 用户帐户类型 (组成员身份) ,根据 Windows 定义。 可能的值包括 unknown、standard、power、administrator。
userPrincipalName String 用户登录名 - Internet 格式: (用户帐户名) @ (用户帐户 DNS 域名) 。

关系

无。

JSON 表示形式

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

{
  "aadUserId": "String",
  "accountName": "String",
  "domainName": "String",
  "emailRole": "@odata.type: microsoft.graph.emailRole",
  "isVpn": true,
  "logonDateTime": "String (timestamp)",
  "logonId": "String",
  "logonIp": "String",
  "logonLocation": "String",
  "logonType": "@odata.type: microsoft.graph.logonType",
  "onPremisesSecurityIdentifier": "String",
  "riskScore": "String",
  "userAccountType": "@odata.type: microsoft.graph.userAccountSecurityType",
  "userPrincipalName": "String"
}