fetchAllPermissions (function)

Return to Knowledgebase

Purpose

Grabs all permission levels

Location

users/helpers/permissions.php

Parameters

This function does not take any arguments

Example

fetchAllPermissions()

Further Documentation:

This is generally an internal UserSpice function and is not usually used by developers. Returns an array of objects containing id, permission name name for each permission level