共用方式為


ISecurableObject.AllRolesForCurrentUser 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 AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
    Get
'用途
Dim instance As ISecurableObject
Dim value As SPRoleDefinitionBindingCollection

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

Property value

Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
SPRoleDefinitionBindingCollection 物件,表示角色定義。

請參閱

參照

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace