private static bool validaActiveDirectory(string login) { return Regex.IsMatch(login, @"^[A-Za-z0-9\._-]+\\[A-Za-z0-9\._-]+$"); }