共用方式為


SPFieldUser.SelectionGroup property

取得或設定值,這個值表示SPGroup與使用者產生關聯。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property SelectionGroup As Integer
    Get
    Set
'用途
Dim instance As SPFieldUser
Dim value As Integer

value = instance.SelectionGroup

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

Property value

Type: System.Int32
關聯使用者SPGroupID

備註

零值指定的使用者或物件已具有權限來使用 [ SPWeb ] 頁面的Site群組相關聯。

群組識別碼與群組Name之間的一對一對應,但名稱會實作相依性。

請參閱

參照

SPFieldUser class

SPFieldUser members

Microsoft.SharePoint namespace

AssociatedGroups

SelectionMode