When I try to sync with conditions, that all users whose employeeNumber has
string "AB", I sync all users. And also those who hasn't got any "AB" in
there employeeNumber.
Any suggestions?

my code:
<mainIdentifier>
js:
var first = srcBean.
getDatasetFirstValueById("employeeNumber")
var second = first.match("AB")
var third = first.match("AB")
if (second = first.match("AB")) {first}
else if (third = first.match("AB")) {first}
else {false}
"CN=" + srcBean.getDatasetFirstValueById("cn") +
",OU=group,DC=server,DC=org"
<mainIdentifier>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to