Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
PeopleEditor Class
 SelectionSet Property
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
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)
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".
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
The valid values for this property      Alex Henderson ... Ozaki Yoshihisa   |   Edit   |   Show History
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
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker