I am trying to ascertain a NAB GROUP Name in ACl which is linked to a specific Role within an ACL.
In other words, a number of databases has a role called TeamRole, and each database (mail in) has a specific Group which is linked to this role.
How can I programatically, specify the role name, and get a handle on the Group Name within the ACL, so that I may then evaluate the Group, and display its members in a prompt (dialog) box for selection.
Subject: How to evaluate which ACL group(s) has a specific role in ACL
With LotusScript you can get the ACL handle, then iterate thru the entries with GetFrstEntry GetNextEntry and check the Roles associated with each entry. Take the appropriate entry name, abbreviate it, and lookup the group in the Groups view with GetDocumentByKey. The values in the group doc’s Members item is the list you want for your dialog. Several steps, but not complicated.
Subject: RE: How to evaluate which ACL group(s) has a specific role in ACL
Thank you for that Bob. Much appreciated
Subject: Be Careful of Nested Groups
one lookup may not be enough
if the group contains other groups as well as people
& that is quite common in some organisations
e.g. UK Sales contains UK sales North, UK Sales East etc
rather than actual names.
your only solution may be “iterative” code