Getsiteuseraccountdirectorypath: Stsadm operation (Office SharePoint Server)

Stsadm

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.

Operation name: Getsiteuseraccountdirectorypath

Description

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.

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

Syntax

stsadm -o getsiteuseraccountdirectorypath

   -url <URL name>

Parameters

Parameter

Value

Required?

Description

url

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

Yes

The URL of the Web application.

Remarks

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).

Examples

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