SPFieldUser.SelectionGroup Property (Microsoft.SharePoint)
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

Visual Basic (Declaration)
Public Property SelectionGroup As Integer
Visual Basic (Usage)
Dim instance As SPFieldUser
Dim value As Integer

value = instance.SelectionGroup

instance.SelectionGroup = value
C#
public int SelectionGroup { get; set; }

Property Value

>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.

See Also

Tags : contentbug


Page view tracker