Get a user's user group id in MURA CMS

I've been working on a project for the past several months that has required me to do extensive customization of MURA CMS. I've found myself searching the forums at getmura.com almost daily, making heavy use of cfdump, and spending a lot of time searching the MURA component API to find what I need. Every time I dig out a MURA gem, I vow I will blog about it to help others who may need to work with the MURA API to customize their MURA install.

For this particular project I am working with multiple user groups and have developed a number of custom fusebox applications that I have plugged into MURA. I found I can access a  user's usergroup id  with the following bit of code: 

event.getValue('localhandler').getCurrentUser().getgroupId().

I'm sure there are other ways  to find out information about my site users and would love to hear from others who have experience working with the MURA .

 

blog comments powered by Disqus