Re: Identifying the user
From: Jeff Dillon (jeff_at_removeemergencyreporting.com)
Date: 11/06/04
- Previous message: dje: "Re: Interop access from WebService"
- In reply to: bwmbagus: "Identifying the user"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Nov 2004 11:11:56 -0800
Without some authentication mechanism, you can't capture the username. Basic
Authentication works over the Internet, or Windows Auth on an intranet.
Jeff
"bwmbagus" <bwmbagus@discussions.microsoft.com> wrote in message
news:7B57D478-F037-4321-81A7-7B8DA35D1B31@microsoft.com...
> I am getting a strange result from some standard code.
> Anyone got any ideas??
>
> The puzzle
> I have a web service calling System.Environment.UserName etc to return the
> user name from the server. However, I get back NETWORK SERVICE or a null
> string, rather then the user logged on to the client machine.
> I have seperate server and client PC's, running XP
> SP2 and Server 2003.
> I have tried various server configs, - anonymous and not, with clear text,
> with digest etc, and various clients. Always get the same result.
>
- Previous message: dje: "Re: Interop access from WebService"
- In reply to: bwmbagus: "Identifying the user"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|