Try our conversational search powered by Generative AI!

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.