I want to get all users in all groups from my Sharepoint-Site, is this possible? if so, how do I do this?
Asked
Active
Viewed 219 times
0
-
A similar question was asked here: http://sharepoint.stackexchange.com/questions/32040/list-of-all-users-having-access-to-at-least-one-site-in-the-site-collection – Submits May 20 '15 at 09:49
1 Answers
0
You could try Azure AD Graph REST API for that purpose, in particular Get User(s) operation, for example:
GET https://graph.windows.net/contoso.onmicrosoft.com/users?api-version=2013-04-05 HTTP/1.1
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Content-Type: application/json
Host: graph.windows.net
Vadim Gremyachev
- 42,498
- 3
- 86
- 167