/// <summary>
 /// CheckADDSConnection method implmentation
 /// </summary>
 internal static bool CheckADDSConnection(string domainname, string username, string password)
 {
     try
     {
         EnsureService();
         return(RuntimeRepository.CheckADDSConnection(Config, domainname, username, password));
     }
     catch
     {
         return(false);
     }
 }