I tried what you said :

if (srcBean.getDatasetById("pwdAccountLockedTime") &&
srcBean.getDatasetById("pwdAccountLockedTime").length() == null )
{
AD.userAccountControlSet( "0", [ AD.UAC_SET_NORMAL_ACCOUNT,
AD.UAC_UNSET_ACCOUNTDISABLE]);
}
else
{
AD.userAccountControlSet( "0", [ AD.UAC_SET_ACCOUNTDISABLE]);
}


but still have the problem and have this error:
. (<Unknown source>#4 in <Unknown source> at line number 4


On 28/02/14 10:05, Clément OUDOT wrote:
>
>
> ---------- Forwarded message ----------
> From: *Clément OUDOT* <[email protected] <mailto:[email protected]>>
> Date: 2014-02-28 10:05 GMT+01:00
> Subject: Re: [lsc-users] test pwdAccountLockedTime
> To: Plumel Louis-Marie <[email protected]
> <mailto:[email protected]>>
>
>
>
>
>
> 2014-02-28 9:57 GMT+01:00 Plumel Louis-Marie
> <[email protected] <mailto:[email protected]>>:
>
>     } is  at the end of my dataset string value. i forgot to copy it
>     in my mail ....
>
>     pwdAccountLockedTime is declared in source fetchedAttributes
>
>
>
> Try maybe a test like :
>
>  if (srcBean.getDatasetById("pwdAccountLockedTime") &&
> srcBean.getDatasetById("pwdAccountLockedTime").length() ) { } else { }
>
> Clément.
>
>
>
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users

_______________________________________________________________
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