There are different permissions, assuming you want to get types with 'Read' permission
select 'classname', CMS_Class.ClassName, CMS_Class.ClassDisplayName
from CMS_Permission
join CMS_RolePermission on CMS_RolePermission.PermissionID = CMS_Permission.PermissionID
join CMS_Class on CMS_Class.ClassID = CMS_Permission.ClassID
join CMS_UserRole on CMS_UserRole.RoleID = CMS_RolePermission.RoleID
where ##WHERE## and PermissionName = 'Read' and ClassName <> 'CMS.Folder'
with ##WHERE## looking like UserID = {%CurrentUser.UserID|(identity)GlobalAdministrator%}