User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 391,563 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,738 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser:
Views: 2370 | Replies: 0
Reply
Join Date: Jul 2007
Location: kolkata-INDIA
Posts: 1
Reputation: suneeltcs is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
suneeltcs suneeltcs is offline Offline
Newbie Poster

Question how to get the connected user name in web service

  #1  
Jul 12th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C# Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 10:02 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC