Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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.
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.
Required, but never shown