Get UserInformation with IUser from database?


As the subject says: I want to retrieve information from my user using IUser.

Is there any way to get this information without using "Select 'user' from database?

Nov 29, 2013 13:10

You mean get the currently logged in user? Thread.CurrentPrincipal

Nov 29, 2013 13:53

Yes, well I wanted to get infomation from a User like: Email,Name etc.. But I fixed it by using the : 

var currentUser = CommunitySystem.CurrentContext.DefaultSecurity.CurrentUser;


Nov 29, 2013 13:54
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.