英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论