How to check if current user is Super User?

Topics: Customizing Orchard, General
Feb 8, 2012 at 11:09 AM

How to check if current user is Super User (user that is created during the installation)?

WorkContext.CurrentUser gives me the current user information but I do not see any flag / role that indicates the user is Super User?

 

 

Coordinator
Feb 8, 2012 at 4:53 PM

WorkContext.CurrentSite.SuperUser