SPListItem.GetUserEffectivePermissionInfo method
Gets detailed information about the effective permissions that a specified user has on the list item and the role assignments related to this user at this scope.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetUserEffectivePermissionInfo ( _
userName As String _
) As SPPermissionInfo
'Usage
Dim instance As SPListItem
Dim userName As String
Dim returnValue As SPPermissionInfo
returnValue = instance.GetUserEffectivePermissionInfo(userName)
public override SPPermissionInfo GetUserEffectivePermissionInfo(
string userName
)
Parameters
userName
Type: System.StringThe value of the LoginName property of a user.
Return value
Type: Microsoft.SharePoint.SPPermissionInfo
An object with detailed information about the permissions for the user.