2013/12/26 Marcio Ricardo Schneider <[email protected]>
> Classificação da Informação: *Uso Interno*
>
> Hi folks!
>
>
>
> I’m a java newbie and have a pretty simple question, I guess.
>
>
>
> How can I declare a java List class variable? Currently I’m calling
> srcBean.getDatasetValuesById and then clearing it like this:
>
>
>
> *var members = srcBean.getDatasetValuesById("mailforwardingaddress");*
>
> *members.clear();*
>
> *var j=0;*
>
> *for (var i=0; i<umembers.length; i++)*
>
> * {*
>
> * if (umembers[i]!==null)*
>
> * {*
>
> * members.add(umembers[i]);*
>
> * }*
>
> * }*
>
> *members*
>
>
>
> It’s not beautiful, but works. Is there a better way to do this?
>
>
>
>
>
I think you are doing the right way. See for example an old how to :
http://lsc-project.org/wiki/documentation/1.1/tutorials/synchronizegroups
Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users