[midPoint] Search for shadow attribute in 4.7.3
miroslav.tankovic at orange.com
miroslav.tankovic at orange.com
Mon Aug 5 11:50:22 CEST 2024
Hello,
I'd like to list users with specific value of attribute on specific resource and I'm trying to follow this documentation
https://docs.evolveum.com/midpoint/reference/before-4.8/concepts/query/midpoint-query-language/introduction/#users-with-account-on-specific-resource
(It is "before-4.8 as we have Midpoint 4.7.3 installed.)
In Users - Axiom query it works if I search only for users with specific resource and kind/intent:
linkRef/@ matches ( . type ShadowType and resourceRef matches (oid = "70322d99-b62c-4ab6-8d2e-92c0edb9f1be") and kind = "account" and intent = "person" )
But if I add required shadow attribute Stat2 to query
linkRef/@ matches ( . type ShadowType and resourceRef matches (oid = "70322d99-b62c-4ab6-8d2e-92c0edb9f1be") and kind = "account" and intent = "person" and attributes/Stat2 = "1" )
it fails with error
Path attributes/Stat2 is not present in type {http://midpoint.evolveum.com/xml/ns/public/common/common-3}ShadowType
It is not possible to search shadow attributes? Or Am I doing it wrong?
Thanks in advance!
Miro
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
More information about the midPoint
mailing list