Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Checking user group in cms config

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 886 Views
  • Phill
    Avatar
    Community Member
    75 Posts

    Checking user group in cms config Link to this post

    Hey

    Is there a way to check what group the logged in user belongs to in the /cms/_config.php file?

    Im trying to do somthing like this

    // If user is not in group code 'administrators'
    // Do this
    // End if

    Thanks
    Phil

    886 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.