User credential pop-up for EWS

Hi,

I am re-writing a C# application which will send out an email using EWS API. Earlier this feature was done using VB6 and CDO components.

Earlier, on connecting to the exchange server, a user credentials dialog will pop up and remembering the credentials is taken care by the (MAPI) system itself.

Is there a similar feature in EWS, which will take care of authenticating the connection/Autodiscover process?

/SanthoshJ


March 13th, 2015 7:22am

If I understand the question correctly, then I think you want this:

Get-Credential

https://technet.microsoft.com/en-us/library/hh849815.aspx?f=255&MSPPError=-2147217396

Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 9:21am

I missed to state in my initial question that, the language used is C#. So, I am unsure how I can use Get-Credential in C#.
March 13th, 2015 9:41am

Oh, right. For some strange reason, I imagined you were doing it in powershell. Do you want it to ask for credentials each time, or just assume the identity of the user running the application (which is what it will do if you don't specify them in the code)?
Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 9:49am

No, you would need to manage the credentials yourself.
March 13th, 2015 6:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics