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
)
参数
acl
类型:Microsoft.SharePoint.SPReusableAclAn SPReusableAcl object that represents an access control list.
返回值
类型:Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that specifies base permissions for the site collection.
备注
The GetEffectiveRightsForAcl method returns more information than the DoesUserHavePermissions method.