Peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode: 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
Specifies not to search Active Directory when the current port is using forms-based authentication.
For example, a Web application uses Windows authentication on port 80 and uses forms-based authentication on port 81. If a user accesses port 81 and attempts a search, results are returned when People Picker is used.
Syntax
stsadm -o setproperty
-propertyname peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode
-propertyvalue {Yes | No}
**\[-url\]** *\<URL\>*
The syntax for the getproperty operation is:
stsadm -o getproperty
-propertyname peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode
**\[-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 |
Yes: People Picker only searches from the membership provider. No: People Picker searches both the membership provider and the Windows Active Directory. |
url |
Typically, a path to the URL of the Web application, in the form http://server_name. |
Examples
Search membership providers using Windows authentication
Do not search Windows Active Directory when the current port is using forms-based authentication.
To search from a membership provider only, use the following syntax:
stsadm -o setproperty -url http://<server> -pn "peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode" -pv yes
To search a membership provider and Windows Active Directory, use the following syntax:
stsadm -o setproperty -url http://<server> -pn "peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode" -pv no
Note
If the value is set to Yes, the People Picker does not try to search or resolve a user against Active Directory if the current zone does not use Windows authentication.
To view the current setting for the nowindowsaccountsfornonwindowsauthenticationmode property, use the following syntax:
stsadm -o getproperty -pn peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode