共用方式為


ISecurableObject.RoleAssignments property

NOTE: This API is now obsolete.

取得物件的角色指派。

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

Syntax

'宣告
<ObsoleteAttribute("Use the SPSecurableObject class instead")> _
ReadOnly Property RoleAssignments As SPRoleAssignmentCollection
    Get
'用途
Dim instance As ISecurableObject
Dim value As SPRoleAssignmentCollection

value = instance.RoleAssignments
[ObsoleteAttribute("Use the SPSecurableObject class instead")]
SPRoleAssignmentCollection RoleAssignments { get; }

Property value

Type: Microsoft.SharePoint.SPRoleAssignmentCollection
SPRoleAssignmentCollection 物件,表示角色指派。

備註

即使繼承的物件有RoleAssignments屬性。

請參閱

參照

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace