I have a server task and I need to get the number of the mailboxes from the server.
It is ok if the Address Book has just one server; the problems appears when I have 2 or more servers on same domain because the search on AddressBook returns Nothing
With C/C++ API the LNDatabase.GetServer() (which returns the server name on a DB resides) returns NULL if the DB resides on the current server). The LNNotesSession.GetUserName() gets the nameserver from the ID, but if there are more than 1 ID on a workstation it returns the value from the last ID accessed.
Is another solution to get the server name and the number of the mailboxes ?