Novell is now a part of Micro Focus

GroupWise: "John Doe" or "Doe, John?"

Articles and Tips: tip

Wolfgang Schreiber
Novell, Inc.

01 Apr 2002


If you are using the GroupWise ObjectAPI to send e-mail or to search through the address book, you will sometimes have to specify the full name of a user. For example, the full user name is required in methods AddByDisplayName() or in search functions like Find(<Name> Matches "xxx").

When specifying the full name in such functions, you will have to use the first name and the last name of the respective user in the very same order that is the preferred display format set in the GroupWise client. It is there that users specify the display name format in the address book (option "View"/"Name Format ...") which by default is "Show first name then last name."

If users change their individual GroupWise client settings to "Show last name then first name," you will have to use the same format in the APIs. This means that before using full names in the ObjectAPI, you should identify the display name format of the client.

An easy method to do so is to read the registry setting:

"HKEY_CURRENT_USER\Software\Novell\GroupWise\Address Book - User Interface"

The key "Display Name Format" contains either the value "F L" (First Last) or the value "L, F" (Last, First), indicating the current name format.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates