Options
[PHP] how to know if its the admin ?
Hi all ,
what's the PHP code to know if the visitor is the member of a specific group ?
TFYT !
Bouazza .
what's the PHP code to know if the visitor is the member of a specific group ?
TFYT !
Bouazza .
0
This discussion has been closed.
Comments
$Context->User->Role == 'role name'
I believe or, possibly better to check for permissions:$Context->Session->User->Permission('PERMISSION_permission-name')