SecurityRights secRights = SecurityRights::construct();
if(secRights.isSystemAdministrator())
{
info('User is an admin');
}
This posting is provided "AS IS" with no warranties. Use code at your own risk.
SecurityRights secRights = SecurityRights::construct();
if(secRights.isSystemAdministrator())
{
info('User is an admin');
}