Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPFieldUser Class
 SelectionGroup Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
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)
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.

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.

Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker