The function takes four parameters, which are explained in the source code. The exact match in the Domino directory is case insensitive. The main goal is to make sure the name is able to be resolved in the Domino directory.
If you omit the myOrg argument to the isInNab function, the common name will be searched instead of the canonical name. However, the name will only be matched up to the number of characters you enter. A mail routing failure may occur if duplicate are names found. For my purposes, I am at least sending the organization to the function. Passing the organization will place distinct delimiters around the name to get the exact match. ("CN=" is the prefix and "O=/..." is the suffix)
—Carlos Andres J.
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip exchange by member Dennis Potts. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.