Introduction
Here I will explain how to solve problem of HttpContext.Current.User.Identity.Name returns null or empty string value.
Dsecription
I have one requirement like getting system username based on that check the permissions of user if user has sufficient permission I need to allow that person to view the particular page otherwise I don’t want give chance to show the page for that I have written code to get username like this