London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Getting user roles in globa.asax

Vote:
 

Hi,

 

I'm trying to retrieve the current logged on users roles from global.asax in a page_saved event, but I can't figure out how to do it. Someone who does know? 

#23046
Aug 25, 2008 17:12
Vote:
 

Try

EPiServer.Security.PrincipalInfo.Current.RoleList

Sunil

#23521
Sep 08, 2008 18:40
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.