[midPoint] How to get user metadata in MidPoint
Pavol Mederly
pavol.mederly at gmail.com
Wed Jul 1 14:51:27 CEST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/9a6f2b76/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/20150701/9a6f2b76/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/20150701/9a6f2b76/attachment.png>
More information about the midPoint
mailing list