#7833
Support 3
Participant

    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
     next
    
     set oCategory = nothing
     set oEntry = nothing
     set oBook = nothing
    

    Hope this helps.

    Regards,
    Advansys Support