Share via


PeopleEditor.ForceClaims Property

Gets or sets the Boolean value to allow the page to bypass the UseClaimsAuthentication property of the Web application and ensure that all PeoplePicker Search and Resolve queries are executed against the Claims API.

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

Syntax

'Declaration
Public Property ForceClaims As Boolean
    Get
    Set
'Usage
Dim instance As PeopleEditor
Dim value As Boolean

value = instance.ForceClaims

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

Property Value

Type: System.Boolean
true to bypass the UseClaimsAuthentication property of the Web application; otherwise, false.

Remarks

ForceClaims operates on the default page, or as specified by the page hosting the people picker.

See Also

Reference

PeopleEditor Class

PeopleEditor Members

Microsoft.SharePoint.WebControls Namespace