Пример #1
0
 /// <summary></summary>
 public ADManager(LordDomains domain)
 {
     Cache = new ADCache();
     Cache.ADUserExpiration = TimeSpan.MinValue;
     Domain = domain;
     ldapSearch.PageSize = int.MaxValue / 2;
 }
Пример #2
0
 /// <summary>
 /// Initializes an object that can be used to perform lookups on user information.
 /// </summary>
 /// <param name="cache">ADCacheContainer is an abstract class, so you will need to use an implementation of it.</param>
 /// <param name="domain">The domain that you want to perform the query against.</param>
 public ADManager(ADCache cache, LordDomains domain)
 {
     Cache  = cache;
     Domain = domain;
     ldapSearch.PageSize = int.MaxValue / 2;
 }
Пример #3
0
 public TypeResolver()
 {
     TypeAD = new ADCache();
 }