Export (0) Print
Expand All

SPList.GetUserEffectivePermissionInfo method

Gets detailed information about the effective permissions that a specified user has on the list and the role assignments for this user at this scope.

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

public override SPPermissionInfo GetUserEffectivePermissionInfo(
	string userName
)

Parameters

userName
Type: System.String

The name of the user whose permissions are to be returned.

Return value

Type: Microsoft.SharePoint.SPPermissionInfo
Detailed information about the permissions and role assignments for a user.

ExceptionCondition
UnauthorizedAccessException

The current user does not have the permission to enumerate permissions.

Show:
© 2014 Microsoft