How to Query the IDM GroupWise driver to determine if an email address is unique?

  • 3567164
  • 08-Oct-2007
  • 26-Apr-2012

Environment

Novell Identity Manager 3.5
Novell Identity Manager Driver - Groupwise

Situation

How do I query GroupWise with the IDM driver so that I can determine if an email address has already been taken?

Resolution

The GW driver has a special query that allows you to see if a proposed internet email address or gateway alias will cause a conflict. If there is no conflict, you will receive back a success status without an instance node. If there is a conflict, you will receive an instance for the record owning the address.

Here is a query example with a hard coded value (helloworld@mydomain.com).



helloworld@mydomain.com







If there is a gateway alias with this value, you will receive the following. The attr data gives the name of the user to which the gateway alias belongs.



gwdom


gwpo


User3


If a user has the supplied value as his internet email address, you will receive the following:

gwdom.gwpo.User3{106}7F7B2F70-0434-0000-A0DE-DB0019009700

gwdom


gwpo


User3


Only one instance will be returned, even if there are multiple conflicts.