/// <summary>
 /// Post-process responses to GetUserSettings.
 /// </summary>
 /// <param name="responses">The GetUserSettings responses.</param>
 private void PostProcessResponses(GetUserSettingsResponseCollection responses)
 {
     // Note:The response collection may not include all of the requested users if the request has been throttled.
     for (int index = 0; index < responses.Count; index++)
     {
         responses[index].SmtpAddress = this.SmtpAddresses[index];
     }
 }
        /// <summary>
        /// Executes this instance.
        /// </summary>
        /// <returns></returns>
        internal GetUserSettingsResponseCollection Execute()
        {
            GetUserSettingsResponseCollection responses = (GetUserSettingsResponseCollection)this.InternalExecute();

            if (responses.ErrorCode == AutodiscoverErrorCode.NoError)
            {
                this.PostProcessResponses(responses);
            }
            return(responses);
        }