Azure AD Graph组成员oData结果限制

huangapple go评论72阅读模式
英文:

Azure AD Graph group member oData result limitations

问题

以下是获取群组成员的URL:

baseUrl/groups/{groupId}/members?$select=objectId,signInNames,surname,givenName

这个请求会返回多少条记录?
它会返回群组的所有成员吗,还是只返回有限数量的记录并提供下一条记录的链接?

英文:

Following is the url to get the members of a group

baseUrl/groups/{groupId}/members?$select=objectId,signInNames,surname,givenName

So how many number of records will be return with this request?
does it return all the members of group or does it return limited number of record and next link for the next records?

答案1

得分: 0

这取决于您的群组中有多少成员。

不同的API可能具有不同的默认和最大页面大小。

对于/members端点,应该有一个有限的数量(未公开)。如果成员数量超过此限制,将返回@odata.nextLink以访问更多数据。

您可以使用$top查询参数指定页面大小。详见此处

英文:

It depends on how many members are in your group.

Different APIs might have different default and maximum page sizes.

There should be a limited number(which is not exposed) for /members endpoint. If the number of members exceeds this limit, a @odata.nextLink will be returned for accessing more data.

You can specify the page size by using $top query parameter. See details here.

huangapple
  • 本文由 发表于 2020年1月4日 00:56:18
  • 转载请务必保留本文链接:https://go.coder-hub.com/59582392.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定