Gets or sets a value that represents the
SPGroup to associate with a user.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property SelectionGroup As Integer
Dim instance As SPFieldUser
Dim value As Integer
value = instance.SelectionGroup
instance.SelectionGroup = value
public int SelectionGroup { get; set; }
Property Value
>ID of the SPGroup that is being associated with a user.
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.