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?
You mean get the currently logged in user? Thread.CurrentPrincipal
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;
Cheers!
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?