SPSite.GetEffectiveRightsForAcl 方法 (SPReusableAcl)

Returns the actual permissions that the current user has for the specified Access Control List (ACL).

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetEffectiveRightsForAcl ( _
    acl As SPReusableAcl _
) As SPBasePermissions
用法
Dim instance As SPSite
Dim acl As SPReusableAcl
Dim returnValue As SPBasePermissions

returnValue = instance.GetEffectiveRightsForAcl(acl)
public SPBasePermissions GetEffectiveRightsForAcl(
    SPReusableAcl acl
)

参数

返回值

类型:Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that specifies base permissions for the site collection.

备注

The GetEffectiveRightsForAcl method returns more information than the DoesUserHavePermissions method.

另请参阅

引用

SPSite 类

SPSite 成员

GetEffectiveRightsForAcl 重载

Microsoft.SharePoint 命名空间