If you want to know about the crdentials of the currently signed in user, then use: if (User.IsAuthenticated==true) { //Whatever you want } Or if you want to get the username of the currently signed-in user then use: Context.User.Identity.Name
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)