Manage Learn to apply best practices and optimize your operations.

Get all group member names

This undocumented feature will get all of the names of group members.

This undocumented feature will get all of the names of group members. It also works well for nested groups.

groupName$ = "_4ServerAccess"
 groupMembers = Evaluate
( |@ExpandNameList(@Dbname;"| 
& groupName$ & |")| )
 Forall names In groupMembers
  Print names
 End Forall


This function has a limitation when it comes to bigger nested groups where size is more. It has to be tested in groups with more size. This method didn't work for our situation.

—Prasad KL.


Since that is an undocumented feature, I don't really know its limitation and I haven't tested it with bigger nested groups. We do have nested groups that are fairly dense, and it works with them.

—Ashish Sidapara, tip author

Do you have comments on this tip? Let us know.

This tip was submitted to the tip exchange by member Ashish Sidapara. Please let others know how useful it is via the rating scale at the end of the tip. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on LotusScript



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...