SPListItem.GetUserEffectivePermissions method
Gets the effective permissions that a specified user has on the list item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetUserEffectivePermissions ( _
userName As String _
) As SPBasePermissions
'Usage
Dim instance As SPListItem
Dim userName As String
Dim returnValue As SPBasePermissions
returnValue = instance.GetUserEffectivePermissions(userName)
public override SPBasePermissions GetUserEffectivePermissions(
string userName
)
Parameters
userName
Type: System.StringThe 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.