We have MVC4 Application and am going through the code and found following statement in index.cshtml file to get login ID.
var loginID='@((User as Sample.Project.Principal.Administrator).Name);
1)can anyone briefly explain User as
in the above statement
2)How can I write above statement without using "User as "
Thanks in Advance