This topic has not yet been rated - Rate this topic

SPSecurableObject.GetUserEffectivePermissions Method

SharePoint 2010

Gets the effective permissions that a specified user has in the current scope.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public abstract SPBasePermissions GetUserEffectivePermissions(
	string userName
)

Parameters

userName
Type: System.String
The value of the LoginName property of the user whose permissions are to be returned.

Return Value

Type: Microsoft.SharePoint.SPBasePermissions
A bitwise combination of enumeration values that specifies a set of permissions.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ