Skip to content

reference:U getPermissionName

Aaron Junker edited this page Apr 24, 2021 · 3 revisions

Function $U->getPermissionName($level):string|array

Gets the name of a permission level.

Arguments

$level

The level code or -1 for an array with all names.

Return value

The name of the permission level or an array with the names of all permission levels.

Example

$U->getPermissionName(0); // Visitor
Clone this wiki locally