Share via


PeoplePickerDialog.PrincipalSource property

Sets or retrieves an SPPrincipalSource value that indicates the principal source of the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property PrincipalSource As SPPrincipalSource
    Get
    Set
'Usage
Dim instance As PeoplePickerDialog
Dim value As SPPrincipalSource

value = instance.PrincipalSource

instance.PrincipalSource = value
public SPPrincipalSource PrincipalSource { get; set; }

Property value

Type: Microsoft.SharePoint.Utilities.SPPrincipalSource
An SPPrincipalSource value: "All", "MembershipProvider", "None", "RoleProvider", "UserInfoList", or "Windows".

See also

Reference

PeoplePickerDialog class

PeoplePickerDialog members

Microsoft.SharePoint.WebControls namespace