共用方式為


SPUser.OwnedGroups property

取得使用者所擁有的群組的集合。

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

Syntax

'宣告
Public ReadOnly Property OwnedGroups As SPGroupCollection
    Get
'用途
Dim instance As SPUser
Dim value As SPGroupCollection

value = instance.OwnedGroups
public SPGroupCollection OwnedGroups { get; }

Property value

Type: Microsoft.SharePoint.SPGroupCollection
SPGroupCollection 物件,表示群組。

請參閱

參照

SPUser class

SPUser members

Microsoft.SharePoint namespace