Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
What would be the syntax for LDAP for the below scenario:
Where sAMAccountName = GRA-* without $. I want the records which are highlighted in green.
This is my current LADP Filter for your reference:
(&(objectClass=user)sAMAccountName=GRA-*))
Anyone, Please help with the correct syntax.
Thank you!
Anyone, Please help.
try below
(&(objectClass=user)sAMAccountName like "GRA-*"))
or
(&(objectClass=user)sAMAccountName matches "GRA-*"))