/ Forums / Advansys Formativ / Creating Solutions with Formativ / Filter in GroupWise Address Book for logged-in user / Reply To: Filter in GroupWise Address Book for logged-in user

#6866
rstarr
Participant

    Thanks for the help. Setting the syntax to:
    set oEntry = oAddressBook.AddressBookEntries.Find(“(<E-Mail Address> CONTAINS “”” & UserId & “””)”)

    Results in the following error in running the applet:
    “Invalid procedure call or argument on [that line], column 0”

    If I try (which is more precisely what I want):
    set oEntry = oAddressBook.AddressBookEntries.Find(“(<E-Mail Address> BEGINSWITH “”” & UserId & “””)”)
    I get an error when running the applet:
    “Invalid operator for data type at [that line], column 0”

    Does either of these work on your end?

    I need the Full Name, e.g. John Q. Smith, and not the display name, e.g. John Smith (missing the middle initial), of the logged-in user. Full Name is not one of the 20 normal Novell GroupWise Address Book fields, thus I made it a Admin-Defined Field in GroupWise mapped to the e-directory Full Name field (thus the oFieldObj.Item(23) in my code). I don’t want to use LDAP to query e-directory for this field directly because doing so requires ActiveX, which is slow to respond and requires a per-user registration of ActiveX on Windows XP. Is there a better/another way to get at the Full Name?

    If I try:
    msgbox “Name: ” & groupwise.account.owner.fullname
    I get the error:
    “Object doesn’t support this property or method: ‘GroupWise.Account.owner.fullname’ at line 20, column 1”

    Very frustrating. Thanks for whatever help you can offer.