共用方式為


SPPeoplePickerSettings.NoWindowsAccountsForNonWindowsAuthenticationMode Property

Gets or sets a Boolean value that specifies whether the people picker should search Windows accounts when the current port uses forms authentication.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property NoWindowsAccountsForNonWindowsAuthenticationMode As Boolean
    Get
    Set
'Usage
Dim instance As SPPeoplePickerSettings
Dim value As Boolean

value = instance.NoWindowsAccountsForNonWindowsAuthenticationMode

instance.NoWindowsAccountsForNonWindowsAuthenticationMode = value
public bool NoWindowsAccountsForNonWindowsAuthenticationMode { get; set; }

Property Value

Type: System.Boolean
true if the people picker should search Windows accounts when the current port uses forms authentication; otherwise, false.

See Also

Reference

SPPeoplePickerSettings Class

SPPeoplePickerSettings Members

Microsoft.SharePoint.Administration Namespace