This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to query an object using an attribute whose datatype is time in edirectory ?

How to query an object using an attribute whose datatype is time in edirectory ? 

Example :

useronboardtime = Aug 17, 2020 5:43:24 PM IST (20200817121324Z) 

Parents
  • 0

    The example you posted looks like the LDAP interpretation of a time string. For the IDM engine, you need to use CTIME. You can convert one to the other as needed.

Reply
  • 0

    The example you posted looks like the LDAP interpretation of a time string. For the IDM engine, you need to use CTIME. You can convert one to the other as needed.

Children
  • 0   in reply to 

    In IDM Policy (DirXML Script) you can only query for the exact value, in CTIME as David suggested. I do not think wildcards are supported.

    If you use LDAP in ECMA in your driver,, you can query for a lesser than or equal/greater than or equal timestamp to get something within a date range.