Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="domainName"></param>
 /// <param name="impersonateLogin">Impersobaliza con windows context impersonation.    usando usuario y clave LDAP</param>
 public ADWrapper(string domainName, ImpersonateLogin impersonateLogin)
 {
     _LDAPPath       = impersonateLogin.ldap;
     _LDAPUser       = impersonateLogin.user;
     _LDAPPassword   = impersonateLogin.password;
     _LDAPDomainName = impersonateLogin.domain;
     Init_withoutdatabase(domainName, true);
 }
Example #2
0
         /// <summary>
         /// 
         /// </summary>
         /// <param name="domainName"></param>
         /// <param name="impersonateLogin">Impersobaliza con windows context impersonation.    usando usuario y clave LDAP</param>
         public ADWrapper(string domainName,  ImpersonateLogin impersonateLogin)
         {

             _LDAPPath = impersonateLogin.ldap;
             _LDAPUser = impersonateLogin.user;
             _LDAPPassword = impersonateLogin.password;
             _LDAPDomainName = impersonateLogin.domain;
             Init_withoutdatabase(domainName,  true);
         }