/// <summary>
 /// Get all the AD objects which is matched with the filter.
 /// </summary>
 /// <param name="adOperator">The AD operator.</param>
 /// <param name="filter">The root AD filter.</param>
 /// <param name="ldapPath">The LDAP path.</param>
 /// <param name="queryScopeType">The query scope type<seealso cref="QueryScopeType"/>.</param>
 /// <returns>All the AD objects which is matched with the filter.</returns>
 public static IList <ADObject> List(IADOperator adOperator, IFilter filter, string ldapPath, QueryScopeType queryScopeType)
 {
     return(ADObject.FindAllByFilter <ADObject>(adOperator, filter, ldapPath, queryScopeType));
 }
 /// <summary>
 /// Get all the AD objects which is matched with the filter.
 /// </summary>
 /// <param name="adOperator">The AD operator.</param>
 /// <param name="filter">The root AD filter.</param>
 /// <returns>All the AD objects which is matched with the filter.</returns>
 public static IList <ADObject> List(IADOperator adOperator, IFilter filter)
 {
     return(ADObject.FindAllByFilter <ADObject>(adOperator, filter));
 }