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.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/