This documentation is archived and is not being maintained.

SPWeb.GetUserEffectivePermissionInfo Method

Windows SharePoint Services 3

Get 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 SPPermissionInfo GetUserEffectivePermissionInfo(
	string userName


Type: System.String
A String representing the user associated with the returned permissions info.

Return Value

Type: Microsoft.SharePoint.SPPermissionInfo
A SPPermissionInfo object associated with the given user.