Prabhakar
Prabhakar

Reputation: 402

How to query AD using XPages?

recently I have started working on how to query AD (Active Directory) in Lotus Notes - XPages. I came across a tool named LIZA (http://www.ldapexplorer.com/en/liza.htm), could anyone please let me know how do we use that tool? What is the tool all about and is it possible to integrate it with Lotus Notes. If not then what are the other ways to query AD using XPages.

Upvotes: 2

Views: 414

Answers (2)

stwissel
stwissel

Reputation: 20384

JXPlorer and Liza are front-end applications. What you are looking for are not these droids is a (Java) library that you can call from XPages (most likely wrapped in a bean).

You can use the Apache Directory to do this. One nice side effect: the API is used inside the Apache Directory Studio - another front-end application. So you would use the Studio to try the connection and browse the AD (or other LDAP) and the know what query and connection strings you need.

The alternative is to do it "the Java way"™ and use JNDI to connect to an LDAP as suggested before by the Java guys.

I would use the Apache classes. Let us know how it goes!

Upvotes: 3

user1674918
user1674918

Reputation: 31

Never used it myself, but could this been an alternative ? http://jxplorer.org/ Should be possible to use this with Java (agent, xpage, java) in Lotus Notes

Upvotes: 0

Related Questions