Getsiteuseraccountdirectorypath: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: December 6, 2007

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09

Retrieves the user account directory path setting for the site collection. The user account directory path is the distinguished name of the organizational unit (OU) for the users that are allowed to be added in the site collection.

The Getsiteuseraccountdirectorypath operation was first introduced in Microsoft Office SharePoint Server 2007 Service Pack 1.

stsadm -o getsiteuseraccountdirectorypath

   -url <URL name>







A valid URL, such as http://server_name/sites/contoso


The URL of the Web application.

When the People Picker control is used, a user's name is resolved when the Check Name icon is clicked or a list of users is displayed when the Browse icon is clicked.

If the Web application is using Windows authentication, the People Picker control searches the entire Active Directory to resolve users' names or find users, instead of searching only users within a particular organizational unit (OU).

To retrieve the current user account directory path for the Contoso site, use the following syntax:

stsadm -o getsiteuseraccountdirectorypath -url http://server_name/sites/contoso