title: Get users from an AD Security group inside a SharePoint group
body: <p>How do we get the users from an Active directory group inside a SharePoint group. In my project i need to send emails to all the members in a a SharePoint group, and the SharePoint group contains Users as well as a security group in Active directory. So how do i loop through all these??</p>
  
  <p>i tried SPFieldUserValueCollection to get all the groups and users and checking whether each item is a group or user but its not working??
  Can any one help me with this???</p>
  
  <p>Thanks in Advance....</p>