Question

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

Was it helpful?

Solution

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/

OTHER TIPS

Yeah there are a tool called "Site Users" web part, which I think can do part of your requirement. But I am not sure it is under the Miscellaneous group in the Web Part gallery. I just stumbled on that tool when I fooling around in the web part gallery. Also as IFY here is another tool which, though, is a third party tool which Sync AD

Hope this helps

SharePoint has a "Site Users" web part (under the Miscellaneous group in the Web Part gallery) - this part is configurable and can display the members of any SharePoint security group in the site.

SharePoint doesn't keep track of who is in what AD group, you'd have to ask the AD for that.

This isn't really a question that it's set up to answer well, the AD was designed to answer questions like "is Kevin a member of the cool kids group"

Awesome

But it has one odd behavior.

"approvers" can see all "contributors" and also see their own group that is "approvers" but "contrbutors" can only see other "contributors" and not the "approvers"

To suffice your need , you need to create a custom webpart in visual studio that will access the ldap server, to get the list of members under an active directory group.

Furthermore, you can deploy this web art to your sharepoint site.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top