I want to fetch the a user's membership and AD groups (Not SharePoint Groups).

So, how can I fetch the data using REST API or JavaScript?


1 Answer 1


The following REST call will GET all AD Groups that are being used in the site without iterating through the SharePoint Groups: /_api/web/siteusers?$filter=PrincipalType eq 4.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.