Home All Groups Group Topic Archive Search About

CredentialCache.DefaultCredentials is empty

Author
1 Sep 2005 9:31 PM
Sam Santiago
Are they any common reasons why the credentials  object returned from  CredentialCache.DefaultCredentials would be empty - use name and password are the empty string?  I am writing an Office Add-In and this call is not retrieving the user's login as specified in the documentation.

Thanks,

Sam

--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________

Author
7 Sep 2005 10:50 AM
ep
This is because the DefaultCredentials don't actually use a username/pass.  They'll login using Kerberos/NTLM/etc, and are a special case so the username and password fields are not actually used.

  "Sam Santiago" <ssantiago@n0spam-SoftiTechture.com> wrote in message news:uZXXRyzrFHA.2588@tk2msftngp13.phx.gbl...
  Are they any common reasons why the credentials  object returned from  CredentialCache.DefaultCredentials would be empty - use name and password are the empty string?  I am writing an Office Add-In and this call is not retrieving the user's login as specified in the documentation.

  Thanks,

  Sam

  --
  _______________________________
  Sam Santiago
  ssantiago@n0spam-SoftiTechture.com
  http://www.SoftiTechture.com
  _______________________________