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

Developers
J. H.
2013-12-19
2013-12-19
  • J. H.

    J. H. - 2013-12-19

    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!

     
  • J. H.

    J. H. - 2013-12-19

    cool. Will explore this out. thanks!

     
  • J. H.

    J. H. - 2013-12-19

    never mind.

     
    Last edit: J. H. 2013-12-19

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks