I am trying to get the Full Name field for the logged-in user from the GroupWise Address book (and not through an LDAP query to e-directory). The whole thing crashes with syntax errors on my attempt to Find, no matter if I include or exclude the brackets. Anything obvious I’m doing wrong here?
Sub Main(Client, GWEvent)
set oAddressBook = GroupWise.Account.AddressBooks.Item(“Novell GroupWise Address Book”)
Set oEntry = oAddressBook.AddressBookEntries.Find(<EMailAddress> CONTAINS UserID)
if oEntry is nothing then
msgbox “oEntry is nothing. Quitting”
msgbox “Name: ” & oEntry.DisplayName
Set oFieldObj = oEntry.Fields
Set FullName = oFiledObj.Item(23)
- You must be logged in to reply to this topic.