SP.Web.effectiveBasePermissions Property
SharePoint 2010
Gets a value that specifies the effective permissions that are assigned to the current user.
var value = SP.Web.get_effectiveBasePermissions();
Gets a value that specifies the effective permissions that are assigned to the current user.
var value = SP.Web.get_effectiveBasePermissions();