SPListItem.DoesUserHavePermissions method (SPUser, SPBasePermissions)
SharePoint 2013
Indicates whether the specified user has the specified permissions on an item.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- user
- Type: Microsoft.SharePoint.SPUser
An SPUser object that represents information about the user.
- permissionMask
- Type: Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that specifies permissions for the item.