Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Filter condition for LDAP Defination

madhu25
Tera Contributor

Hi Everyone,

How can i give filter condition in LDAP Defination for one type of users(sys_user)

Filter condition is User id start with M and end with L

Example user id: M00001L

madhu25_0-1669214761856.png

 

3 REPLIES 3

Sagar Pagar
Tera Patron

Hi @madhu25,

 

Try with this query in filter -

 

(&(objectCategory=person)(objectClass=user)(cn=M*)(cn=*L))

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Hi @madhu25,

Have you tried this as a filter? Let us know if have any issue.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

ersureshbe
Giga Sage
Giga Sage

Hi, I hope, you control in import set table which is associated with sys_user table.

 

Regards,
Suresh.