How to check if a user belongs to a particular role?

simpleone81 wrote on Thursday, December 19, 2013:

I’ve created a user and assign it a “front office” role. I want to modify left_nav.php so any user from this role can only see a few things in the left navigation menu. Does anyone know what API could be used to check if a user belongs to a particular role in this case?

thanks!

yehster wrote on Thursday, December 19, 2013:

simpleone81 wrote on Thursday, December 19, 2013:

cool. Will explore this out. thanks!

simpleone81 wrote on Thursday, December 19, 2013:

never mind.