共用方式為


SPRoleAssignmentCollection.Groups property

取得存取控制清單 (ACL) 直接隸屬的群組。此安全的物件。

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

Syntax

'宣告
Public ReadOnly Property Groups As SPGroupCollection
    Get
'用途
Dim instance As SPRoleAssignmentCollection
Dim value As SPGroupCollection

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

Property value

Type: Microsoft.SharePoint.SPGroupCollection
此安全物件的 ACL 直接隸屬的群組。

請參閱

參照

SPRoleAssignmentCollection class

SPRoleAssignmentCollection members

Microsoft.SharePoint namespace