Using @Formula to find internetaddress in the Public Addressbook

Hi

I want to find out if an emailaddress (that is in a field) is already used in the pub addressbook. Is there a standard or easy way to check this using @Formula Language?

Regards

Subject: Using @Formula to find internetaddress in the Public Addressbook

You could use the view ($Users) in the NAB, where the InternetAddress also appears.

Something like

_Server := Server;

_dbNAB := DBNAB;

_inetAddress := InetAdressToCheck;

_exists := @DBLookup( “”:“NoCache”; _Server:_dbNAB; “($Users)”; _inetAddress; 1; [FailSilent] );

@If( _exists = “”; … ; … );

Subject: RE: Using @Formula to find internetaddress in the Public Addressbook

Hi

Thank you for the info.

Is it possible to find also in the list of mailgroups and mail-in database documents if the internetaddress is unique in general? What I actually want is to find out if the internetaddress is unigue in the whole domino environment.

Regards

Subject: RE: Using @Formula to find internetaddress in the Public Addressbook

$Users includes mail-in databases and groups.