SPFieldUser.SelectionMode property
Gets or sets a value that specifies whether only individuals or both individuals and groups can be selected as field values in forms for creating or editing list items.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property SelectionMode As SPFieldUserSelectionMode
Get
Set
'Usage
Dim instance As SPFieldUser
Dim value As SPFieldUserSelectionMode
value = instance.SelectionMode
instance.SelectionMode = value
public SPFieldUserSelectionMode SelectionMode { get; set; }
Property value
Type: Microsoft.SharePoint.SPFieldUserSelectionMode
An SPFieldUserSelectionMode value that specifies whether individuals or both individuals and groups can be selected in forms.