Microsoft Graph People API 中 PersonType 的可能值

Biv*_*tha 3 office365 microsoft-graph-api

我们正在尝试在一个项目中使用 People API,它将根据 PersonType.eg 外部或内部人员来区分人员。我们找不到有关 PersonType 所有可能值的任何文档。我们查看了以下文档:

https://learn.microsoft.com/en-us/graph/api/resources/persontype?view=graph-rest-1.0

感谢您的帮助!

小智 7

听起来您可能正在寻找人员:组织和/或其他:访客.

\n\n

我发现这里提到了:https://developer.microsoft.com/en-us/office/blogs/people-api-available-in-microsoft-graph-v1/

\n\n

“我们已将 personType、mailboxType 和sources 属性合并到一个名为 personType 的属性中。”

\n\n

然而,这些值实际上不仅仅是这些值的组合。

\n\n

Class: Person

\n\n

Subclasses:

\n\n
    \n
  • OrganizationUser: User in the signed-in user\xe2\x80\x99s organization.
  • \n
  • PersonalContact: Contact added to the signed-in user\xe2\x80\x99s address book.
  • \n
  • OrganizationContact:Contact added to the organization\xe2\x80\x99s address book.
  • \n
  • ImplicitContact: Entity deemed relevant to the signed-in user based on communication, collaboration, or business signals.
  • \n
  • Unknown
  • \n
\n\n

Class: Group

\n\n

Subclasses:

\n\n
    \n
  • UnifiedGroup: Azure Active Directory group, such as an Office 365 group
  • \n
  • ImplicitGroup: Entity group deemed relevant to the signed-in user based on communication, collaboration, or business signals.
  • \n
  • PublicDistributionList: Public contact list in the signed-in user\xe2\x80\x99s organization.
  • \n
  • PersonalDistributionList: Contact list in the signed-in user\xe2\x80\x99s address book.
  • \n
  • Unknown
  • \n
\n\n

Class: Other

\n\n

Subclasses:

\n\n
    \n
  • Room: Room mailbox in the signed-in user\xe2\x80\x99s organization.
  • \n
  • Guest: Azure Active Directory business-to-business (B2B) collaboration user.
  • \n
  • Unknown
  • \n
\n