SharePoint includes Site users web part OOTB, but this web part does not include an option to display members of AD groups. SharePoint 2010 Display AD Group Members Web Part displays all members of all AD groups that have permissions on a site recursively.


Web part includes links to profile pages of each user. You can even choose to display site users or members of specific OU in Active Directory.



We built this web part because we got frequent requests from our customers that would like to display site users but would also need to display members of Active Directory security groups.  



This web part is for all users that have SharePoint Foundation 2010 or SharePoint Server 2010 installed in their environment.  



Installation instructions

Install solution

On your SharePoint Server run SharePoint 2010 Management Shell as Administrator and then run the command:

Add-SPSolution -LiteralPath C:\Users\sp_farm\Desktop\Skupine_Web_Part.wsp

To deploy the solution go to Central Administration, System settings, Manage Farm Solutions, click on »Skupine_Web_part.wsp« and click Deploy Solution. You can also deploy the solution with PowerShell by running the following command:

Install-SPSolution -Identity skupine_web_part.wsp -GACDeployment -AllWebApplications

Activate solution

What you need to do next is go to your site collection where you want to use this solution and Activate the »Skupine Web part« solution on the »Site collection features« page:

Add web part to a page

To insert a web part to your page, click Edit page button and then Add a Web Part. In the"KompasXnet" category, you will find »Xnet Diplay Group Members« web part.

Click Add.

When you web part is on the page, it is going to be empty. From a web part menu, select »Edit web part«

Enter a user name.

This can be any domain user, without any special privileges. In the format domain\username. Enter password for this user. Enter domain information for querying your domain.

If you have a special users container, you can specifiy just the Organizational Unit.

For example, if you would like to query just the OU »Zaposleni« you can enter:




Enter the Fully qualified domain name of domain controller where query will be sent to:


Click OK.

Click Stop Editing on the Ribbon on the Page tab.

When you click Stop Editing, the Web part will still be empty. What you need to do is click Browse on the Ribbon and navigate to the page where the Web part is.

Update solution

To update solution you need to run SharePoint 2010 Management Shell:

 Update-SPSolution -Identity skupine_web_part.wsp -LiteralPath C:\Users\sp_farm\Desktop\Skupine_Web_Part.wsp -GACDeployment




Web part enumerates all site users including SharePoint and Security groups. When web part finds security group it makes a call to active directory and gets all members. Users are then displayed in tree view control and you can expand and collapse view of a specific group.





Microsoft Public License (Ms-PL)

This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.

1. Definitions

The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.

A "contribution" is the original software, or any additions or changes to the software.

A "contributor" is any person that distributes its contribution under this license.

"Licensed patents" are a contributor's patent claims that read directly on its contribution.

2. Grant of Rights

(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.

(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations

(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.

(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.

(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.

(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.

(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.


SharePoint 2010 Display AD Group Members Web Part

Za prenos dodatka vas prosimo, da izpolnite obrazec.

Po elektronski pošti boste nato prejeli povezavo za prenos.