Issue #101 has been updated by Cl?ment Oudot. Status changed from New to Feedback % Done changed from 0 to 100
Done here: http://lsc-project.org/wiki/documentation/tutorials/synchronizegroups Can you have a look and correct my mistakes? Thanks, Cl?ment. ---------------------------------------- Feature #101: Document group synchronization example http://tools.lsc-project.org/issues/show/101 Author: Jonathan Clarke Status: Feedback Priority: Normal Assigned to: Cl?ment Oudot Category: Documentation Target version: As reported by Cl?ment in issue #78, there is a simple syncoption configuration to synchronize groups. This would be nice in a mini-tutorial or a "Tips and tricks" section in the wiki. I'm adding this issue in order to close #78 and separate the documentation request. <pre> lsc.syncoptions.fonction.member.delimiter = $ lsc.syncoptions.fonction.member.force_value = var umembers = srcBean.getAttributeValuesById("uniqueMember").toArray() ; for (var i=0; i<umembers.length; i++ ) { try { umembers[i] = ldap.attribute(ldap.list( "ou=USERS", "(sAMAccountName=" + (srcLdap.attribute(umembers[i], 'uid').get(0) + ")")).get(0), 'distinguishedname').get(0) } catch (e) {umembers[i]=null} } var members = new Array(); var j=0 ; for (var i=0; i<umembers.length; i++) { if (umembers[i]!=null) members[j++]=umembers[i] } members </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090702/e7643ff1/attachment.htm>

