Ok

it works after correction :


            <![CDATA[js:
        var dstMembers = new Array();
                var membersSrcDn =
srcBean.getDatasetValuesById("member");
                for  (var i=0; i<membersSrcDn.size(); i++) {
                        var memberSrcDn = membersSrcDn.get(i);

                        sam = srcLdap.attribute( memberSrcDn,
"sAMAccountName").get(0);
                        dstMembers.push(sam)
                }
                dstMembers;
            ]]>

On Thu, Oct 23, 2014 at 11:10 PM, Clément OUDOT <[email protected]>
wrote:

>
>
> 2014-10-23 8:43 GMT+02:00 Renaud <[email protected]>:
>
>> Thanks
>>
>> It works only for one user, but i have 5 users in my test group.
>>
>
>
> Strange, because you have a "for" loop that should list all your users.
>
>
>>
>> Oher thing : i have created a test group "ListeUSERS" but all my real
>> groups are named as "Groupe SEC SER/LAB".
>> If i want to use this groups, i have some problems. I don't know if it's
>> white spaces or "/"or if there are groups in group, an idea ?
>>
>
>
> No, it should work.
>
> You can use javascript debugger, see
> http://lsc-project.org/wiki/documentation/latest/scripting/start#debugger
>
>
>
>
> Clément.
>
_______________________________________________________________
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