-
Notifications
You must be signed in to change notification settings - Fork 1
reference:U userHasPermission
Aaron Junker edited this page Apr 24, 2021
·
4 revisions
Function userHasPermission(string $module, string $submodule = "", string $subsubmodule = "", bool $debug = False):bool
- since Pb2.5Bfx0
- returns
bool
- in file
(root)
/includes
/functions
/userHasPermission.inc.php
Queries if the currently logged in user has a permission to do something. More information for the permission system can be found here.
Name of the module.
- Optional Name of the submodule.
- Optional Name of the subsubmodule.
True
if the user has the permission and False
if not.
$U->userHasPermission("Login","Login","2FA"); // True
Manuals
- manual:Download-and-install-USOC
- manual:How to install USOC manually
- manual:plugins
- manual:Set-up-oAuth-with-google
Github Manuals
Reference Index