can someone explain the composition of the parts of the ldap string.
the one I have:
string strSQL = "SELECT mail FROM 'LDAP://DC=amrs,DC=win,DC=ml,dc=COM' WHERE samaccountname = '" + UserName.Replace(@"AMRS\", "") + "'";
it receives an email for a specific username. now I need to get other information from the ldap request and not get the correct setting, and also I do not know that the values are in the ldap settings. "LDAP: // DC = amrs, DC = win, DC = ml, dc = COM"
Can someone please explain this to me?
source
share