Hi,

I need to do a simple Query, and im Stuck with it.

What exaclty need is to Query all Users which have a specified
Attribute (type Time) filled.

With LDAP Browser i can simply check (attribute=*) but when i use this
in my Query i get an Error with invalid Type for Int.

Below is my policy im Using at the ??? im stuck with what to put in
there.



Code:
--------------------
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE policy PUBLIC "policy-builder-dtd" "C:\Program Files (x86)\Novell\Designer\plugins\com.novell.idm.polic ybuilder_4.0.0.201104051747\DTD\dirxmlscript4.0.1. dtd"><policy>
<rule>
<description>Query Stuff</description>
<conditions/>
<actions>
<do-set-local-variable name="lv-ns-queryResult" scope="policy">
<arg-node-set>
<token-query datastore="src">
<arg-dn>
<token-global-variable name="idv.dit.data.users"/>
</arg-dn>
<arg-match-attr name="loginActivationTime">
<arg-value type="time">
<token-text xml:space="preserve">???</token-text>
</arg-value>
</arg-match-attr>
</token-query>
</arg-node-set>
</do-set-local-variable>
</actions>
</rule>
</policy>
--------------------


Thanks for your help.

Andi Bucher


--
AndreasBucher
------------------------------------------------------------------------
AndreasBucher's Profile: http://forums.novell.com/member.php?userid=24621
View this thread: http://forums.novell.com/showthread.php?t=454959