Results 1 to 3 of 3

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

  1. #1
    Join Date
    Jan 2006
    Posts
    211

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

    Can anyone tell me how to get the field value of the AD user address attributes in VBscript, just like city, country, etc? Thanks for any information in advance.

  2. #2
    Join Date
    Feb 2006
    Posts
    335

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

    You can check out the below link

    http://gallery.technet.microsoft.com...2-64a7e696a36e

    that has "streetAddress,postOfficeBox,l,st,postalCode,c"

  3. #3
    Join Date
    Sep 2005
    Posts
    193

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

    You can also use the free adfind utility:

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

    Just search it on google and download it.

Similar Threads

  1. LDAP user authentication error with VBScript from ASP
    By ridergroov in forum Active Directory
    Replies: 3
    Last Post: 04-01-2014, 12:08 PM
  2. Active Directory VBScript to get user's OU information
    By MilesAway in forum Active Directory
    Replies: 3
    Last Post: 11-07-2009, 03:09 AM
  3. Script to Update user attributes in AD
    By Fahad in forum Active Directory
    Replies: 3
    Last Post: 29-05-2009, 02:44 AM
  4. Delegate rights to change User Attributes
    By Robbin M in forum Active Directory
    Replies: 2
    Last Post: 12-02-2009, 01:07 AM
  5. Replies: 0
    Last Post: 07-01-2009, 09:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,580,963.62624 seconds with 18 queries