共用方式為


SPSecurableObject.RoleAssignments property

取得這個可保護物件的角色指派。

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

Syntax

'宣告
Public Overridable ReadOnly Property RoleAssignments As SPRoleAssignmentCollection
    Get
'用途
Dim instance As SPSecurableObject
Dim value As SPRoleAssignmentCollection

value = instance.RoleAssignments
public virtual SPRoleAssignmentCollection RoleAssignments { get; }

Property value

Type: Microsoft.SharePoint.SPRoleAssignmentCollection
定義安全物件的角色指派的SPRoleAssignment物件的集合。

Implements

ISecurableObject.RoleAssignments

請參閱

參照

SPSecurableObject class

SPSecurableObject members

Microsoft.SharePoint namespace