SPList.DoesUserHavePermissionsForUI method

SharePoint 2013

  Name Description
Public method DoesUserHavePermissionsForUI(SPBasePermissions)
Public method DoesUserHavePermissionsForUI(SPBasePermissions, Boolean) Checks the permissions for a given set of rights, as they should be displayed in the UI, and returns a Boolean. Optionally checks for permissions on a folder. This will only differ from DoesUserHavePermissions if ReadOnlyUI is set to true, and will always be as or more restrictive than DoesUserHavePermissions.