Hi,
I would like to display all the users who are currently in a particular role.
For example if Role X had users Jane, Bob and Ryan assigned to it.
i would like to display Jane, Bob and Ryan in a text field.
Does anyone know how i can go about that?
Thanks
Subject: Displaying users in roles
If I understand your problem , command @userroles is your solution.Put it in a “Computed For Display” field and try.
Subject: Difficult …
It depends on the complexity of the database ACL.
Do you have people or groups listed in the ACL ?
If people: write script code that loops all entries in the ACL and checks the presence of the role. Add all entries with the role to a variant and put this variant in the text field.
If groups: write script code that loops all entries in the ACL and checks the presence of the role. Then lookup these groups in the Domino Directory, add the members to a variant and put this variant in the text field.