Exceute @ExpandNameList(...) formula query from java

Hi All,

I want to write a small java program which does the following. Given a group name, it should print the names of all users present in it (directly or indirectly). It should resolve nested and cyclic groups as well.

I found there is an undocumented formula query @ExpandNameList(“server”:“names.nsf”;“grpname”);

Can anyone tell me how can i invoke this query from java code?

TIA

Priya

Subject: Exceute @ExpandNameList(…) formula query from java

Be aware that any “hidden” function is not supported, nor guaranteed to be functional in any future version of Notes, or could change functionality without notice

Subject: Exceute @ExpandNameList(…) formula query from java

I was able to find out the solution.

i used session.evaluate(@ExpandNameList(…) ) to fetch the list of users in a group.

But i beleive it works only when users list is not more than 64K. Can anyone tell me how can i handle groups with users length > 64K

Thanks in advance for ur help.

-Priya