can someone explain the makeup of the ldap string parts.
the one i have is:
string strSQL = "SELECT mail FROM 'LDAP://DC=amrs,DC=win,DC=ml,dc=COM' WHERE samaccountname = '" + UserName.Replace(@"AMRS\", "") + "'";
this gets an email for a particular username. now i need to get other info from an ldap query and fail to get the setting correct and also i have no clue what the values are in the ldap settings. "LDAP://DC=amrs,DC=win,DC=ml,dc=COM"
can anyone explain this to me please?