finding out a user's controlled organisations

Hi,I have an issue - I need to find out which organisations a user controls, and for some reason getOrganizationsDisplayNames is not behaving itself for me.Is there another way to get this list?Tim
[225 byte] By [timboa] at [2007-11-27 6:33:40]
# 1

how u tried for getting list of orgs which r under perticular user control

plz try it by calling rules(no need to call rule,we can get it directly)

see the code

I got the list from rule with following code

<invoke name='getOrganizationsDisplayNames' class='com.waveset.ui.FormUtil'>

<select>

<ref>:display.session</ref>

<invoke name='getLightHouseContext'>

<ref>WF_CONTEXT</ref>

</invoke>

<ref>context</ref>

</select>

</invoke>

bandlamudi_anila at 2007-7-12 17:59:37 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Thanks for that. What I found was that if I call getOrganizationsDisplayNames from a form, it behaves correctly and only shows the organizations that a user has control over. However, if I call it from a script action in a workflow, then it gives me all organizations in the system. I am not sure why this happens.

To get around it, I just set the workflow variable from within a form.

timboa at 2007-7-12 17:59:37 > top of Java-index,Web & Directory Servers,Directory Servers...