GetUserEffectivePermissionInfo method

SPSecurableObject.GetUserEffectivePermissionInfo method

Gets an object with detailed information about the effective permissions that a specified user has in the current scope and the role assignments related to this user at this scope.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public abstract SPPermissionInfo GetUserEffectivePermissionInfo(
	string userName


Type: System.String

The value of the LoginName property of a user.

Return value

Type: Microsoft.SharePoint.SPPermissionInfo
An object with detailed information about the permissions for a user at a given scope.
© 2015 Microsoft