CS1061: 'System.Security.Principal.IIdentity' does not contain a definition for 'GetUserName' and no extension method 'GetUserName' accepting a first argument of type 'System.Security.Principal.IIdentity' could be found (are you missing a using directive or an assembly reference?)
HttpContext.Current.User.Identity.Name
UserName
<%@ Import Namespace="Microsoft.AspNet.Identity" %>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)