c# - Get users from an AD Security group inside a SharePoint group -


How can we get users from the Active Directory group inside a SharePoint group? All members in a SharePoint group in my project Need to send email, and Active Directory in SharePoint group includes users as well as a security group. How do I work through all this?

I tried SPFieldUserValueCollection to get all the groups and users and checking that each item is a group or user, but it is not working ?? Can anybody please help me out on this ???

Thank you in advance ....

You use the method to do this can do. The input parameter is a NT account name of the security group.


Comments