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



  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury