Installation instructions:

Install solution

If you want to install the new version of solution, downlod the wsp file from Codeplex:

http://sp2010adgroupmembers.codeplex.com/downloads/get/621206

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:

 

OU=Zaposleni,DC=CORP,DC=XNET,DC=SI

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

»Xnet-DC01.corp.xnet.si«

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

Hope you find the improved version of my solution useful. If you have any comments or suggestions please send me email to:

robi@kompas-xnet.si

Last edited Mar 8, 2013 at 11:51 AM by ruben0404, version 7

Comments

side54723 Jun 13, 2014 at 1:01 PM 
Hello

It is working for SP2013.
Though how to display users in a security group of AD plz ?

BearGal34 Feb 25, 2014 at 9:26 PM 
Hello,
Is this web part compatible with SharePoint 2013? If not, will you be updating it to work wiht SP2013 and could you provide a timeline?

Thanks.