|
|
romaldus 10/2/2017 |
|
in PHPRunner 9.8 you can use security API, for example to check logged in user is admin or not: //replace $test variable with your own var |
|
|
|
romaldus 10/2/2017 |
|
Check phprunner user manual for other methods: |
|
|
K
|
keithh0427 author 10/2/2017 |
|
Yes, I'm doing that to some extenet by using the IsAdmin() functionality as shown in my original post. |
|
|
|
romaldus 10/2/2017 |
|
Just to make sure you need to declare a variable contains Security::isAdmin() |
|