Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Created by Guest
Created on Oct 1, 2018

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.

  • Attach files
  • Guest
    Reply
    |
    May 21, 2020

    @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
    Reply
    |
    Oct 27, 2018

    Moving this idea to product : Domino Designer

  • Admin
    Thomas Hampel
    Reply
    |
    Oct 27, 2018

    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
    Reply
    |
    Oct 3, 2018

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