SharePoint Web Part to display users by AD/SharePoint Group

78lro picture 78lro · Jan 5, 2009 · Viewed 45.6k times · Source

I'm trying to create a SharePoint web part that will display all the users in a certain active directory or SharePoint security group.

So for example on the home page for a department called Human Resources, the web part will list all the people who belong to the AD or SharePoint group called HR.

It's been suggested to me that there is no relationship between the users table in SharePoint and the security groups, which I find hard to understand? If users belong to a group you would suspect there is a relationship.

Many Thanks for any suggestions

Answer

RedTech MOSS Team picture RedTech MOSS Team · Jan 6, 2009

The Site Users web part will not expand AD security groups. For AD Security group enumeration, you may want to look at Bamboo's web parts (User Directory Web Part) or develop your own custom web part as described here: http://sharepointrookie.wordpress.com/2008/07/13/display-site-members-from-ad-groups/