CURRENT_USER multi-select access to various site pages and navigation based on items selected in multi.

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 1, 2016   (RSS)

By Damon - August 1, 2016

Hi Zicky,

Try this code:

<?php if (strpos($CURRENT_USER['department_intranet_access'], '41') !== false) : ?>User has access to Finance<?php endif; ?>
<?php if (strpos($CURRENT_USER['department_intranet_access'], '7') !== false) : ?>User has access to Fire Dept.<?php endif; ?>

Let me know if this gets the results you are after.

Damon Edis -

Hire me! Save time by getting our experts to help with your project.