Hello all,

I have a workflow where I'd like to add the recipient to a LDAP group,
before adding the recipient to the group I'd like to check if recipient
is already a member of the group, if not, then proceed to adding the
user. I placed a condition activity to check for that and I'm not having
the best of luck. I've tried a couple of things and neither seem to
work.


var user = flowdata.get('start/request_form/recipient')
if (IDVault.get('CN=JDE JAS-AD,OU=global,OU=Groups,O=delta' , 'group',
'Member') == 'user')
{true; }
else
{false; }

-----------------------------------------------------------------------------------------------------------------------

if (IDVault.get(recipient , 'user', 'group') == 'CN=JDE
JAS-AD,OU=global,OU=Groups,O=delta')
{true;}
else
{false;}


any suggestions would be appreciated!

Thanks in advance.
EE


--
ee0001
------------------------------------------------------------------------
ee0001's Profile: https://forums.netiq.com/member.php?userid=3012
View this thread: https://forums.netiq.com/showthread.php?t=48908