suneeltcs 0 Newbie Poster

Hi,

Requirement: I am developing a windows based application(Client server architecture). I need to extract the user name of the person who trying to connect to the web service so that i can validate the user authorization.
Followed procedure: In the web service layer i am using the following code to retrieve the login user name,
string user = this.User.Identity.Name;

But i am getting the value as null.
Please help regarding this problem.