Export (0) Print
Expand All

Peoplepicker-distributionlistsearchdomains: Stsadm property (Office SharePoint Server)

SharePoint 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 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>

NoteNote:

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.

NoteNote:

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft