Support 3

See the sample code below to access the categories from an address book entry. See the Object API for more information (http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html).

 dim oBook
 dim oEntry
 dim oCategory

 set oBook = GroupWise.Account.AddressBooks.item("Test Book")

 set oEntry = oBook.AddressBookEntries.Item(1)

 for each oCategory in oEntry.Categories
   msgbox oCategory.name & oCategory.Primary

 set oCategory = nothing
 set oEntry = nothing
 set oBook = nothing

Hope this helps.

Advansys Support