relatedPerson 资源类型

命名空间:microsoft.graph

重要

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

表示与 用户的配置文件 中给定实体内的信息相关的人员的信息。

属性

属性 类型 说明
displayName String 人员的姓名。
关系 String 可取值为:managercolleaguedirectReportdotLineReportassistantdotLineManageralternateContactfriendspousesiblingchildparentsponsoremergencyContactotherunknownFutureValue
userId String 用户的目录对象 ID (Microsoft Entra ID 或 CID) 。
userPrincipalName String Email地址或对组织内人员的引用。

JSON 表示形式

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

{
  "displayName": "String",
  "relationship": "String",
  "userId": "String",
  "userPrincipalName": "String"
}