AFP548 Changing the world one server at a time.

Kerry

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Searching Active Directory #364898
    Kerry
    Participant

    Address Book does show results (including the phone number) if I search the Directory. However, what I would like to do is write a script (ideally perl) that does the same thing in the background for a website.

    I may have finally stumble on my own answer today. I think if I ran multiple searches (FirstName, LastName, Location, etc.), take the results and then read the PhoneNumber for each user I could put it all together. Ideally there is a better way or if I was really lucky someone has already tried to do this and has some code that would save me some time.

    Example of what I’m thinking right now…
    -search /Contact/Users LastName “SomeName”

    then for each of the results (after ruling out duplicates)
    -read /Contact/Users/SomeName PhoneNumber

Viewing 1 post (of 1 total)