/ Forums / Advansys Formativ / Creating Solutions with Formativ / Search after Email-Address in addressbook

  • Creator
    Topic
  • #4284
    griesserag
    Participant

      Hello

      How can I search in the addressbook after an email address and retrieve an addressbook entry object or a collection?

      I don’t know the filter expression for the find method on a addressbook object and the Novell documentation only talks about filter expressions for searching messages.

      Thanks

      Regards

    • Author
      Replies
    • #7718
      Support 3
      Participant

        You need to search AddressBook.AddressBookEntries collection to find items in the address book. See the “Filter Expressions” to modify the search criteria.

          
          set oBook = groupwise.account.addressbooks.item("Formativ")
          set oABEntries = oBook.AddressBookEntries.Find("(<E-Mail Address> CONTAINS ""*@advansyscorp.com*"")")
        
          for each oEntry in oABEntries
            msgbox oEntry.DisplayName & vbcrlf & oEntry.EmailAddress
          next
        

        Regards,
        Advansys Support

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.