SPFolder.EffectiveRawPermissions property

Get the base permissions for the current user.

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

Public ReadOnly Property EffectiveRawPermissions As SPBasePermissions
Dim instance As SPFolder
Dim value As SPBasePermissions

value = instance.EffectiveRawPermissions

Gest the permissions from the database once and caches them. There is no check for whether files are in a catalog that requires the ManageLists mask.