By Prevs
Jun 24, 2006
  1. I dont know if this forum can help me, but im writing a app and I need help getting sam account names from active directory, at the moment my code get everything including computernames and display names. The prog is meant to get sam account info from AD and put it in a access database.

    the problem is on this line I think

    comAD.CommandText = "<" & oMydomain.adspath & _ ">;(objectClass=user);sAMAccountName"
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...