[midPoint] How to get user metadata in MidPoint

Pavol Mederly mederly at evolveum.com
Wed Jul 8 14:49:42 CEST 2015


Hello Roman,

sorry for the late answer. I know little of the reporting module, and 
only today I had some time to check deeper.

Unfortunately, it seems that the "greater than" and "less than" filters 
are currently not supported by midPoint.
You could perhaps write the selection expression as "code" instead of 
"filter" - like it is done in audit report.

But that's terra incognita for me. If there would be any problems, I 
hope someone else will be able to help you.

Best regards,
Pavol

> Hi Pavol,
> thanks for your advice!
>
> My goal is to generate report with filter: "All midPoint users created 
> in last week".
> I tried a lot of filters that I thought of, but no success.
> I probably need createTimestamp value as path in filter (in reports 
> definition).
>
> Can I use "greater" or "less" keyword in filters, too?
>
> Thanks!
> Regards
> Roman
>
> Roman Pudil
> solution architect
>
> gsm: [+420] 775 663 666
> e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz>
>
> 			
>
> AMI Praha a.s.
> Pláničkova 11
> 162 00 Praha 6
> tel./fax: [+420] 274 783 239
> web: www.ami.cz <http://www.ami.cz>
>
> 			
>
> AMI Praha a.s.
>
>
> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
>
> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za 
> společnost AMI Praha a.s.
> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít 
> výhradně písemnou formu.
>
> Dne 1.7.2015 v 14:51 Pavol Mederly napsal(a):
>> Hello Roman,
>>
>> I would use the following:
>>
>> user.asObjectable().getMetadata().getCreateTimestamp()
>>
>> or
>>
>> user.getMetadata().getCreateTimestamp()
>>
>> Depending on whether user is a PrismObject<UserType> or UserType itself.
>>
>> Best regards,
>> Pavol
>>
>> On 1. 7. 2015 12:52, Roman Pudil - AMI Praha a.s. wrote:
>>> Hi all,
>>> how to get metadata from user object in MidPoint?
>>> For ex. "createTimestamp"?
>>>
>>> Thanks
>>> Roman
>>> -- 
>>>
>>> Roman Pudil
>>> solution architect
>>>
>>> gsm: [+420] 775 663 666
>>> e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz>
>>>
>>> 			
>>>
>>> AMI Praha a.s.
>>> Pláničkova 11
>>> 162 00 Praha 6
>>> tel./fax: [+420] 274 783 239
>>> web: www.ami.cz <http://www.ami.cz>
>>>
>>> 			
>>>
>>> AMI Praha a.s.
>>>
>>>
>>> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
>>>
>>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá 
>>> za společnost AMI Praha a.s.
>>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít 
>>> výhradně písemnou formu.
>>>
>>>
>>>
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150708/179ff341/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150708/179ff341/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21628 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150708/179ff341/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150708/179ff341/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21628 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150708/179ff341/attachment-0001.png>


More information about the midPoint mailing list