Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

REST Api call for fetching the users from Distribution List

$
0
0

Hi,

I have added a specific Distribution List (e.g. ContosoAdmins) of AD as Site Collection Admin.

This ContosoAdmins consist of below listed user,

1. AdminUser1

2. AdminUser2

3. AdminUser3

While I am try to fetch these users by using below REST api call,

http://<SiteCollection>/_api/web/siteusers?$filter=IsSiteAdmin%20eq%20true

It only fetches ContosoAdmins details as response whereas expected result should fetch details of all 3 users i.e. AdminUser1, AdminUser2, AdminUser3.

Kindly help, if we have alternate rest api to fetch this expected result.


Hope this help.

Vote - if you find this helpful

Marked as Answer - if you see this reply being an answer to the question of the thread


Regards,

Amjad Khan

Blog: https://amjadk.com


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>