共用方式為


SPFile.EffectiveRawPermissions Property

Gets the effective 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 SPFile
Dim value As SPBasePermissions

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

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
A set of flags that specify permissions.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace