Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

Peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode: Stsadm property (Office SharePoint Server)

SharePoint 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-09-13

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>

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

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

NoteNote:

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.