Results 1 to 2 of 2

Thread: LDAP Search Filter

  1. #1
    Join Date
    Oct 2010
    Posts
    1

    LDAP Search Filter

    I currently have a search filter that I use for my Sharepoint people search that basically imports anyone with a mailbox and is shown in the Exchange address book. It also doesn't display disabled users. The query is:

    (&(mailnickname=*)(|(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName =*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))))((!userAccou ntControl:1.2.840.113556.1.4.803:=2))(showInAddressBook=*))

    To this I now need to import contacts as well who do not have a mailbox but will have the telephone attribute populated. I thought something like this would work but instead of looking at it as one or the other, it is looking to meet all the criteria and only displaying people with mailboxes and phone numbers instead of or phone numbers. Can some please point out where I went wrong. Thanks.

    (&(mailnickname=*)(|(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName =*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))))((!userAccou ntControl:1.2.840.113556.1.4.803:=2))(showInAddressBook=*))(|(&(objectCategory=person)(objectClass=u ser)(telephoneNumber=*)))

  2. #2
    Join Date
    Dec 2007
    Posts
    1,736

    Re: LDAP Search Filter

    You can use the Microsoft Office API to access outlook components. Here is a note from the Microsoft site on how to do this. The security concerns are addressed here. Basically you resuse an existing outlook session, if none exists prompt the user to start outlook. Hope that helps.

Similar Threads

  1. Search filter settings in windows 7
    By Santiaago in forum Operating Systems
    Replies: 5
    Last Post: 25-02-2010, 08:59 AM
  2. LDAP search filters using OU not supported?
    By TheTurner in forum Window 2000 Help
    Replies: 4
    Last Post: 09-02-2010, 11:49 PM
  3. Ways to filter Google search results?
    By Aalap in forum Technology & Internet
    Replies: 5
    Last Post: 22-10-2008, 12:40 PM
  4. LDAP Search Query Syntax
    By etienne in forum Active Directory
    Replies: 1
    Last Post: 06-08-2008, 07:47 PM
  5. LDAP Search Query Error
    By bjude in forum Active Directory
    Replies: 3
    Last Post: 17-03-2006, 10:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,862,857.21885 seconds with 17 queries