Getsiteuseraccountdirectorypath: Stsadm operation (Office SharePoint Server)
Updated: December 6, 2007
Applies To: Office SharePoint Server 2007
Topic Last Modified: 2007-12-04
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