共用方式為


SPSecurableObject.AllRolesForCurrentUser property

取得目前的使用者所屬的物件上的角色定義的完整清單,對此範圍。

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

Syntax

'宣告
Public Overridable ReadOnly Property AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
    Get
'用途
Dim instance As SPSecurableObject
Dim value As SPRoleDefinitionBindingCollection

value = instance.AllRolesForCurrentUser
public virtual SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }

Property value

Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
目前的使用者所屬的領域的物件上的角色定義的完整清單。

Implements

ISecurableObject.AllRolesForCurrentUser

請參閱

參照

SPSecurableObject class

SPSecurableObject members

Microsoft.SharePoint namespace