共用方式為


SPFolder.EffectiveRawPermissions Property

Get the base permissions for the current user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property EffectiveRawPermissions As SPBasePermissions
    Get
'Usage
Dim instance As SPFolder
Dim value As SPBasePermissions

value = instance.EffectiveRawPermissions
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPBasePermissions EffectiveRawPermissions { get; }

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
Returns SPBasePermissions.

Remarks

Gest the permissions from the database once and caches them. There is no check for whether files are in a catalog that requires the ManageLists mask.

See Also

Reference

SPFolder Class

SPFolder Members

Microsoft.SharePoint Namespace