This documentation is archived and is not being maintained.

SPListItem.GetUserEffectivePermissions Method

Windows SharePoint Services 3

Gets the effective permissions that a specified user has on the list item.

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

public SPBasePermissions GetUserEffectivePermissions(
	string userName
)

Parameters

userName
Type: System.String
The value of the LoginName property of a user.

Return Value

Type: Microsoft.SharePoint.SPBasePermissions
A bitwise combination of enumeration values that specifies a set of permissions.
Show: