Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SPV550

    Obtain "Office" info from AD via LDAP

    never mind its physicalDeliveryOfficeName if anyone else needs to know
  2. SPV550

    Obtain "Office" info from AD via LDAP

    Ive successfully created a working application that brings user details from AD to my form. I need to obtain the "office" info found under the general tab of a user. Ive tried office and Location but neither work - anyone know what it is that i need in my query? thx
  3. SPV550

    Search for user with LDAP query

    Thanks for your help so far..... ive read the documenataion etc and copied the code from the link you sent, inserted our details. When it gets to the code line: ' Execute the query. Set rs = Com.Execute i get an error message saying runtime error 2147217911 (80040e09) Permission denied. Im...
  4. SPV550

    Search for user with LDAP query

    OK thanks..... Just so i know are you referring this documentation as i have gone the wrong way about retrieving data from AD with my code or is this to help me build the syntax for the LDAP query?
  5. SPV550

    Search for user with LDAP query

    Thanks for your reply. Sorry i must have made a typo in my code i forgot to add a String variable. So it shoudl have looked like: Dim user as IADsuser Dim userName as String userName = txtUser.Text Set user = GetObject ("LDAP://CN=" + userName + ",OU=Second Level,OU=First...
  6. SPV550

    Search for user with LDAP query

    Hello I created a code via VB6 which allows me to search for a user in active directroy and then displays the users details that i require: Assuming this is the hierarchical structure of Active Directory: Root - First level - Second Level - Third Level Dim user as IADsuser "LDAP://CN=" +...

Part and Inventory Search

Back
Top