ksd123
asked on
Question on MVC
Hi Experts,
We have MVC4 Application and am going through the code and found following statement in index.cshtml file to get login ID.
2)How can I write above statement without using "User as "
Thanks in Advance
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 statement2)How can I write above statement without using "User as "
Thanks in Advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER