<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
If you really want to do this then what you need is to create an
extension of user schema and define a custom object reference
there. Or simply reference the users by their identifiers using
custom string property.<br>
<br>
However, specifying managers as user-user relation is a very
problematic approach. E.g. if you want to replace a manager you
will need to change a lot of user records. That may interfere with
approvals and notifications, it will most likely complicate
authorization schemes and pollute audit logs. Yes, this was a
recommended way in some old IDM systems. But I would consider this
approach to be an anti-pattern. And a particularly ugly one. That
is the reason that this approach is not implemented in midPoint
out-of-the-box. There is much better way.<br>
<br>
MidPoint has a very rich functionality regarding organizational
structure management. It is much better idea to use these
features. The you would place users into organizational units and
specify managers for those units. This is well supported in
midPoint core and also in GUI. Changes in managers are much easier
to do. There are also methods prepared to evaluate management
chains in this case. And you can also support cases such as
several managers for single org unit and so on.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
On 08/24/2016 05:06 PM, mariano marron wrote:<br>
</div>
<blockquote
cite="mid:CALrFv6=PUdgFbCtwC_WbwP34z9OMX5HZqxsxEiD1AtCfCHosiA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi everyone. I want to reference an user to another by
setting an attribute such as "manager" to a user. Any
available information on this matter? Thanks in advance.<br>
<br>
</div>
Mariano<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>