Partager via


Peoplepicker-distributionlistsearchdomains : propriété Stsadm (Office SharePoint Server)

Mise à jour : 2007-09-13

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>

NoteRemarque :

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

Notes

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