[midPoint] Script Query to Discover all Users with no roles

Markus Calmius markus.calmius at proton.ch
Sat Jan 27 12:07:13 CET 2024


Hi Scott,

Below you have the url:s changed.

The namespaces are the usual ones though, that you can find in almost all examples
c => common-3
q => query-3
t => types-3 


<query xmlns:c="hxxp://midpoint.evolveum.com/xml/ns/public/common/common-3"
       xmlns:q="hxxp://prism.evolveum.com/xml/ns/public/query-3"
       xmlns:t="hxxp://prism.evolveum.com/xml/ns/public/types-3">
    <filter>
       <q:not>
          <q:ref>
              <q:path>c:roleMembershipRef</q:path>
              <q:value>
	         <q:type>c:RoleType</q:type>
	      </q:value>
          </q:ref>
      </q:not>
    </filter>
</query>


Markus


More information about the midPoint mailing list