Context.User.Identity.Name comes back with an empty string.
WindowsIdentity.GetCurrent().Name gives: machinename\ASPNET.
Any help?
Tim
> what's in Context.User ??
>
> ---
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices.enhancements/<uyQqG#zmEHA.3812@TK2MSFTNGP10.phx.gbl>
> I've read in a number of articles that if you use a UsernameToken with a
> plain text password in WSE2, the token will be validated against the Windows
[quoted text clipped - 21 lines]
>
> [microsoft.public.dotnet.framework.webservices.enhancements]
Tim Haynes - 17 Sep 2004 00:26 GMT
Saw another post about granting ASPNET the "ast as part of operating system"
priv. Tried that - no change.
Tim
> Context.User.Identity.Name comes back with an empty string.
> WindowsIdentity.GetCurrent().Name gives: machinename\ASPNET.
[quoted text clipped - 8 lines]
> > Dominick Baier - DevelopMentor
> > http://www.leastprivilege.com
nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices.enhancements/<uyQqG#zmEHA.3812@TK2MSFTNGP10.phx.gbl>
> > I've read in a number of articles that if you use a UsernameToken with a
> > plain text password in WSE2, the token will be validated against the
[quoted text clipped - 26 lines]
> >
> > [microsoft.public.dotnet.framework.webservices.enhancements]
Hervey Wilson [MSFT] - 25 Sep 2004 18:57 GMT
Tim, when you use a plaintext password with a UsernameToken (something you
should only do over a secure connection), WSE2 will perform a LogonUser call
to verify the user account. However, this call does NOT impersonate the
user, it simply verifies the users identity. If you want to subsequently
impersonate the user then you must do this using the UsernameToken.Principal
property, see the .NET Framework documentation for details of the IPrincipal
interface.

Signature
This posting is provided "AS IS", with no warranties, and confers no rights.
> Saw another post about granting ASPNET the "ast as part of operating
> system"
[quoted text clipped - 52 lines]
>> >
>> > [microsoft.public.dotnet.framework.webservices.enhancements]