0 out of 3 rated this helpful - Rate this topic

PeopleEditor.SelectionSet Property

Windows SharePoint Services 3
Sets or retrieves the account types that are associated with the control.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
public string SelectionSet { get; set; }

Property Value

A string that represents the account types as a comma-delimited list; for example, "User,DL,SecGroup".
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
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