SPUser.Groups property
取得使用者是其中成員的群組集合。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Groups As SPGroupCollection
Get
'用途
Dim instance As SPUser
Dim value As SPGroupCollection
value = instance.Groups
public SPGroupCollection Groups { get; }
Property value
Type: Microsoft.SharePoint.SPGroupCollection
SPGroupCollection 物件,表示群組。