Compartilhar via


Peoplepicker-distributionlistsearchdomains: Stsadm property (Office SharePoint Server)

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

Description

Restricts the search of a distribution list to a specific subset of domains.

Syntax

stsadm -o setproperty

-propertyname peoplepicker-distributionlistsearchdomains

-propertyvalue <URL>

**\[-url\]** *\<URL\>*

The syntax for the getproperty operation is:

stsadm -o getproperty

-propertyname peoplepicker-distributionlistsearchdomains

**\[-url\]** *\<URL\>*

Note

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

A valid URL, such as http://server_name.

Note

The domain name should be a Domain Name Service (DNS) name and should be separated by a semicolon. If no values are set, all trusted domains or the domains listed in the configuration are searched.

In the Example section, the property values (corp.fabrikam.com and dev.corp.fabriakm) are specified to conduct the search for a distribution list from corp.fabrikam.com and dev.corp.fabriakm.com and no other domain.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

In the Example section, http://contoso is the name of the Web application that is affected.

Examples

Restrict a search distribution list to a subdomain

To restrict a search for a distribution list to only be corp.fabrikam.com and ntdev.corp.fabrikam.com, use the following syntax:

stsadm -o setproperty -url http://contoso-370 -pn peoplepicker-distributionlistsearchdomains -pv corp.fabrikam.com;dev.corp.fabrikam.com

To view the current setting for the distributionlistsearchdomains property, use the following syntax:

stsadm -o getproperty -pn peoplepicker-distributionlistsearchdomains