SPSite.GetEffectiveRightsForAcl method (SPReusableAcl)
SharePoint 2013
Returns the actual permissions that the current user has for the specified Access Control List (ACL).
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPBasePermissions GetEffectiveRightsForAcl(
SPReusableAcl acl
)
Parameters
- acl
- Type: Microsoft.SharePoint.SPReusableAcl
An SPReusableAcl object that represents an access control list.
Return value
Type: Microsoft.SharePoint.SPBasePermissionsAn SPBasePermissions value that specifies base permissions for the site collection.
The GetEffectiveRightsForAcl method returns more information than the DoesUserHavePermissions method.