SPFieldUser.SelectionGroup property
Gets or sets a value that represents the SPGroup to associate with a user.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property SelectionGroup As Integer
Get
Set
'Usage
Dim instance As SPFieldUser
Dim value As Integer
value = instance.SelectionGroup
instance.SelectionGroup = value
public int SelectionGroup { get; set; }
Property value
Type: System.Int32
ID of the SPGroup that is being associated with a user.
Remarks
A value of zero specifies that the user or object has not been associated with a Site group that has permissions to use the SPWeb page.
There is a one-to-one correspondence between the group ID and the group Name, but the names are implementation-dependent.