PeopleEditor.SelectionSet Property (Microsoft.SharePoint.WebControls)
Sets or retrieves the account types that are associated with the control.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property SelectionSet As String
Visual Basic (Usage)
Dim instance As PeopleEditor
Dim value As String

value = instance.SelectionSet

instance.SelectionSet = value
C#
public string SelectionSet { get; set; }

Property Value

A string that represents the account types as a comma-delimited list; for example, "User,DL,SecGroup".
See Also

Tags :


Community Content

Ozaki Yoshihisa
The valid values for this property
This property takes a comma seperated list of the valid types of principal it will return in searches etc. which relates to the names of the different values in the AccountType enumeration (See [http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.peopleeditor.accounttype.aspx]) - generally useful to get behaviour that allows only selection of groups i.e. by setting the value to "SPGroup".

  • User = single user
  • DL = AD distribution list
  • SecGroup = AD security group
  • SPGroup = Sharepoint group

Page view tracker