Forum Discussion
coreyva
Nimbostratus
Aug 10, 2017AD query SearchFilter multiple searches
I'm working on an APM profile and within an AD query SearchFilter I'd like to check a session variable against multiple fields. So something like this
userPrincipalName=%{session.logon.last.usern...
Jad_Tabbara__J1
Cirrostratus
Aug 11, 2017Hello Coryva,
Based on this question https://devcentral.f5.com/questions/ad-query-search-filter and Micheal J answer, the search filter syntax is in LDAP format.
You can find here the supported Search Filter Syntax :
You need to try the following
(|(userPrincipalName=%{session.logon.last.username})(mail=%{session.logon.last.username}))
Hope it helps
Please give us a feedback
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
