#dominoforever | Product Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

A formula or script function to get all groups a user belongs to

To have a native function to get all groups a user belongs to.

For example being able to call @usernameslist with a username parameter.

  • Guest
  • Oct 1 2018
  • Needs Clarification
  • Attach files
  • Guest commented
    21 May, 2020 11:41am

    @Thomas Hampel

    Yes, the need happens very often. The document in the field contains lists of groups. One can expand groups in a loop, but this is a very costly operation, because groups can contain groups also. It would be much better to compare the lists of groups.

    Many developers really need a separate function @UserGroupsList([userName]).

    And add a parameter userName to @UserNameList function - @UserNameList([userName]).

    The [userName] parameter is optional in both functions.

  • Admin
    Thomas Hampel commented
    27 Oct, 2018 07:50am

    Moving this idea to product : Domino Designer

  • Admin
    Thomas Hampel commented
    27 Oct, 2018 07:50am

    For further discussion with development, can you please explain a little more on how or where this function would provide a benefit? What is your application going to do with the list of groups a user belongs to? Are you planning to compare it against a (hardcoded) list of group names?

  • Guest commented
    3 Oct, 2018 08:53pm

    This makes sense for Notes client coding, but if XPages, it can already be done using a bean.