[midPoint] How to obtain shadow's administrative\effective status
Pavel Kandratsyeu
kandratsyeu at ibagroup.eu
Mon Sep 29 11:48:08 CEST 2025
Hi all,
I try to get shadow's effective activation status by the following code
(taken from docs example)
if (input != null){
list = new ArrayList();
for (linkRef in input){
shadow =
midpoint.getObject(ShadowType.class, linkRef.getOid(),
SelectorOptions.createCollection(GetOperationOptions.createNoFetch().resolveNames(true)));
status =
shadow.getActivation()?.getEffectiveStatus()?.toString();
It always returns null - is it a problem or works as expected\designed? If
it is ok how should I obtain the actual status?
Resource details show Activation and Activation status are enabled
Thanks in advance!
Best regards
Pavel Kondratiev
FE "IBA IT Park"
mail: kandratsyeu at ibagroup.eu
https://ibagroupit.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250929/de3a51a1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 138980 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250929/de3a51a1/attachment-0001.jpe>
More information about the midPoint
mailing list