How to get the value of AD user attributes in vbscript?

Discussion in 'Active Directory' started by Kino, Nov 20, 2009.

  1. Kino

    Kino Guest

    i want to get the field value of the AD user address attributes in VBscript.
    just like city, country, etc.
    how can i get it?
    thank you very much.
     
    Kino, Nov 20, 2009
    #1
    1. Advertisements

  2. Kino

    Marcin Guest

    Marcin, Nov 20, 2009
    #2
    1. Advertisements

  3. You can also use Joe Richards' free adfind utility:

    adfind -default -f "(sAMAccountName=JSmith)" streetAddress postOfficeBox l
    st postalCode c

    See this link:

    http://www.joeware.net/freetools/tools/adfind/index.htm
     
    Richard Mueller [MVP], Nov 20, 2009
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.