[midPoint] SYNC
oleg okunev
legeech at inbox.ru
Wed Nov 9 07:10:39 CET 2016
Dear all,
i confused:
i have user in midpoint and i want to take email and phone from resourse thar have usesrs fullName.
1.i have emty situation on accaunts in resourse (on screen) (and resourse exported)
resourse
...cat hr.csv
lastname;firstname;fio;email;phone;domain;employeeType;password;disabled
"Иванов";"Иван";"Иванов Иван Иванович";"jesus at sky.my";"+70000000001";"moffice";"wrong";"P at ssw0rd1";"false"
"Petrov";"petr";"petrov petr petrovich";"petrov at mail.my";"+70000000003";"moffice";;"P at ssw0rd1";"false" and
user
...
<name>test2</name>
<activation>
<effectiveStatus>enabled</effectiveStatus>
<enableTimestamp>2016-11-08T17:20:21.312+03:00</enableTimestamp>
</activation>
<iteration>0</iteration>
<iterationToken/>
<fullName>petrov petr petrovich</fullName>
<givenName>petr</givenName>
<familyName>petrov</familyName>
</user> and shadow
<shadow
....
oid="d3631074-d36b-4f07-a245-57ee9c4a7756"
version="0">
<name>petrov petr petrovich</name>
<resourceRef oid="4321e3fc-0410-442f-9fcb-d9b580ce67d6" type="c:ResourceType"/>
<objectClass>ri:AccountObjectClass</objectClass>
<kind>account</kind>
<attributes>
<icfs:name>petrov petr petrovich</icfs:name>
<icfs:uid>petrov petr petrovich</icfs:uid>
</attributes>
</shadow>
2.is there have any problem with determine russian letters? i need make correlation between fulname (Family name , name , middle name)
i have user with fullName
and field fio using as Unique identifier attribute * so it became icfs:uid (i think)
<equal>
<path>fullName</path> ---------------------------- frommidpoint ?????
<expression>
<path>$account/attributes/icfs:uid</path>--------------------- from resourse ???????
</expression>
</equal>
--------------------------------------------
is there any differense with this
<equal>
<path>fullname</path>
<expression>
<path>
declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3';
$account/attributes/icfs:uid
</path>
</expression>
</equal> or this
< q: equal>
< q: path> c: fullName</ q: path>
<valueExpression>
<path>$account/attributes/icfs:uid</path>
</valueExpression>
</ q: equal>
what for using the Q: or C: ???
Please help . cant make it right.
may be i did not need syncronization?
--
oleg okunev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161109/3386a00a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.PNG
Type: image/png
Size: 44904 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161109/3386a00a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExportedData_ResourceType_1478671295646.xml
Type: application/octet-stream
Size: 11154 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20161109/3386a00a/attachment.obj>
More information about the midPoint
mailing list