/// <summary> /// LDAP Authentification. Assumes that LDAP is defined. /// </summary> /// <param name="userName">user name</param> /// <param name="password">password</param> /// <returns>true if ldap authenticated</returns> public bool IsLDAP(String userName, String password, out string output) { output = ""; return(LDAP.Validate(GetLDAPHost(), GetLDAPDomain(), userName, password, GetLDAPAdminUser(), GetLDAPAdminPwd(), out output)); //return false; }
/// <summary> /// LDAP Authentification. Assumes that LDAP is defined. /// </summary> /// <param name="userName">user name</param> /// <param name="password">password</param> /// <returns>true if ldap authenticated</returns> public bool IsLDAP(String userName, String password) { return(LDAP.Validate(GetLDAPHost(), GetLDAPDomain(), userName, password)); //return false; }