Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.GetUserEffectivePermissionInfo method

Gets the effective permissions that the specified user has and the role assignments related to this user within this scope.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public override SPPermissionInfo GetUserEffectivePermissionInfo(
	string userName
)

Parameters

userName
Type: System.String

The user associated with the returned permissions information.

Return value

Type: Microsoft.SharePoint.SPPermissionInfo
The permissions associated with the given user.
ExceptionCondition
UnauthorizedAccessException

The user does not have permission to enumerate permissions.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.