Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure Active Directory-图形API请求附加字段_Azure_Azure Active Directory_Azure Ad Graph Api - Fatal编程技术网

Azure Active Directory-图形API请求附加字段

Azure Active Directory-图形API请求附加字段,azure,azure-active-directory,azure-ad-graph-api,Azure,Azure Active Directory,Azure Ad Graph Api,我正在使用Graph API来下拉组织中特定用户的信息。这非常有效,但是我需要的一条信息是来自其Active Directory帐户的用户安全组 我使用以下URL请求给定Active Directory objectID的图形API信息 https://graph.windows.net/[domain]/users/[objectID]?api-version=1.5 这给了我一个JSON结果,其中包含用户信息,如他们的部门、职务、userPrincipalName等 如何申请用户安全组成员

我正在使用Graph API来下拉组织中特定用户的信息。这非常有效,但是我需要的一条信息是来自其Active Directory帐户的用户安全组

我使用以下URL请求给定Active Directory objectID的图形API信息

https://graph.windows.net/[domain]/users/[objectID]?api-version=1.5
这给了我一个JSON结果,其中包含用户信息,如他们的部门、职务、userPrincipalName等

如何申请用户安全组成员资格?这可能吗?

它们可在memberOf navigation属性中找到。因此,您可以拨打此电话:

https://graph.windows.net/[domain]/users/[objectID]/memberOf?api版本=1.5


明亮的非常感谢。完全忽略了它。