Is there a way to loop through the nested security groups in active directory, with or without using LDAP in SharePoint??

I have tried SPUtility.GetPrincipalsInGroup but Im not geting nested groups in AD.

  • i was talking about doing it in sharepoint !!
    – Sooraj
    Commented Sep 19, 2014 at 16:29

1 Answer 1


Without LDAP, am not sure that it would be possible or not. As AD sync to Userprofile o what you need, you can get from user profile instead on AD in SharePoint.

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.