2010-05-03 53 views

回答

-1

是的,可以使用簡單的LDAP查詢搜索多個用戶名。我不知道你究竟是想這樣做,但你應該能夠做到像下面

(|([email protected])([email protected]))

+1

朱利安,AccountManagement的許多缺點之一是您無法執行您自己的自定義LDAP查詢。您提供的查詢不能使用PrincipalSearcher執行。如果使用DirectoryServices而不是AccountManagement,則可以使用DirectorySeracher執行它。 – Peter