DirectorySearcher Filter Exchange Server

Discussion in 'ASP .Net' started by Roger Bavaud, Nov 3, 2004.

  1. Roger Bavaud

    Roger Bavaud Guest

    Hello

    I try to get all users from AD who are on a specified Exchnge Server. I
    tried with the following search filter:

    mySearcher.Filter = "(&(objectClass=user)(homeMDB=CN=Microsoft
    MTA,CN=ExchangeServerName*)

    But there is a problem with the homeMDB. I receive 0 results. Does anybody
    have an idea what I have to change?

    Reagrds
    Roger
     
    Roger Bavaud, Nov 3, 2004
    #1
    1. Advertising

  2. Post ur Question to :- framework.aspnet.security
    Sure ur not searching the right parameters!


    "Roger Bavaud" wrote:

    > Hello
    >
    > I try to get all users from AD who are on a specified Exchnge Server. I
    > tried with the following search filter:
    >
    > mySearcher.Filter = "(&(objectClass=user)(homeMDB=CN=Microsoft
    > MTA,CN=ExchangeServerName*)
    >
    > But there is a problem with the homeMDB. I receive 0 results. Does anybody
    > have an idea what I have to change?
    >
    > Reagrds
    > Roger
    >
    >
    >
     
    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Nov 5, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay
    Replies:
    1
    Views:
    19,308
  2. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,288
    Toby Inkster
    Jul 12, 2004
  3. mike
    Replies:
    4
    Views:
    3,675
  4. Replies:
    0
    Views:
    727
  5. Alessandro Barracco

    matrix: exchange rows + exchange columns

    Alessandro Barracco, Jan 25, 2011, in forum: Ruby
    Replies:
    0
    Views:
    177
    Alessandro Barracco
    Jan 25, 2011
Loading...

Share This Page