Пример #1
0
 /// <summary>
 /// Find all user directory entry.
 /// </summary>
 /// <returns></returns>
 public static IList <User> FindAll()
 {
     return(ActiveDirectoryQuery.FindAllByFilter <User>(new IsUser()));
 }
Пример #2
0
 /// <summary>
 /// Find all user directory entry by filter.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All user directory entry by filter.</returns>
 public static new IList <User> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <User>(new And(new IsUser(), filter)));
 }
Пример #3
0
 /// <summary>
 /// Find all ad directory entry by filter.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All ad directory entry by filter.</returns>
 public static IList <ActiveDirectoryObject> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <ActiveDirectoryObject>(filter));
 }
Пример #4
0
 /// <summary>
 /// Find all contact directory entry by filter.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All contact directory entry by filter.</returns>
 public static new IList <Contact> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <Contact>(new And(new IsContact(), filter)));
 }
Пример #5
0
 /// <summary>
 /// Find all domain controller directory entry by filter.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All domain controller directory entry by filter.</returns>
 public static new IList <DomainController> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <DomainController>(new And(new IsDomainController(), filter)));
 }
Пример #6
0
 /// <summary>
 /// Find all group objects by filter.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All group objects by filter.</returns>
 public static new IList <Group> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <Group>(new And(new IsGroup(), filter)));
 }
Пример #7
0
 /// <summary>
 /// Find all group objects.
 /// </summary>
 /// <param name="adOperator">The AD operator.</param>
 /// <returns>All group objects.</returns>
 public static IList <Group> FindAll()
 {
     return(ActiveDirectoryQuery.FindAllByFilter <Group>(new IsGroup()));
 }
Пример #8
0
 /// <summary>
 /// Find all ou objects.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <returns>All ou objects by filter.</returns>
 public static new IList <OrganizationalUnit> FindAll(IFilter filter)
 {
     return(ActiveDirectoryQuery.FindAllByFilter <OrganizationalUnit>(new And(new IsOrganizationalUnit(), filter)));
 }
Пример #9
0
 /// <summary>
 /// Find all ou objects.
 /// </summary>
 /// <param name="adOperator">The AD operator.</param>
 /// <returns>All ou objects.</returns>
 public static IList <OrganizationalUnit> FindAll()
 {
     return(ActiveDirectoryQuery.FindAllByFilter <OrganizationalUnit>(new IsOrganizationalUnit()));
 }