Export (0) Print
Expand All

SPSite.GetEffectiveRightsForAcl Method (SPReusableAcl)

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

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

[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.SPBasePermissions
An SPBasePermissions value that specifies base permissions for the site collection.

The GetEffectiveRightsForAcl method returns more information than the DoesUserHavePermissions method.

Show:
© 2014 Microsoft