Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Checking user group in cms config


Go to End


1098 Views

Avatar
Phill

Community Member, 81 Posts

15 October 2008 at 3:06am

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