Hello,
you can't get the username/password of the currently logged on user,
DefaultNetworkCredential is always empty.
What do you need the username/password for?
Kind regards,
Henning
> Hi,
>
[quoted text clipped - 5 lines]
>
> william
william - 06 Feb 2008 15:25 GMT
Hi Henning,
I want to assign it to a web service's credentials. e.g.
faWS.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
Thanks.
William
> Hello,
>
[quoted text clipped - 15 lines]
> >
> > william
Henning Krause [MVP - Exchange] - 07 Feb 2008 12:55 GMT
Hello,
you can do that - The WebService proxy will use windows authentication in
this case.
Just ignore that it's empty.
Kind regards,
Henning
> Hi Henning,
>
[quoted text clipped - 25 lines]
>> >
>> > william