This doesnt work when anonymous login is not enabled on IIS. In such cases, use the below for getting the logged in username:string username = Page.User.Identity.Name;
Post a Comment
1 comment:
This doesnt work when anonymous login is not enabled on IIS. In such cases, use the below for getting the logged in username:
string username = Page.User.Identity.Name;
Post a Comment