Validate login credentials using EWS Managed API
<p>Is there a way to validate login credentials provided by a user using EWS Managed API without sending an email. I am using AutodiscoverUrl method on an [ExchangeService] object but it takes too long? Any suggestion would be appreciate it. </p>

<pre><code>        try
        {
            ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
            service.Credentials = new WebCredentials("xxxx@yyy.com", "password");
            service.AutodiscoverUrl("xxxx@yyy.com", RedirectionUrlValidationCallback);    

            Console.WriteLine("Credentials validated successfully");
            Console.ReadLine();

        }

        catch(Exception e)
        {
            Console.WriteLine(e.Message);
            Console.ReadLine();
        }
</code></pre>