LotusScript Technique: Do Something Based on Some Specific Role.


Managing the control of flow of the code based on the role is the responsibility of the developer, not of IBM Notes. How? here’s the simple code snippet for you.

Dim theRole As String 
Set acl = db.ACL
Set ACLEntry = acl.GetFirstEntry

theRole = “AuditOfficer”

If ( ACLEntry.IsRoleEnabled( theRole ) …

Leave a Reply

Your email address will not be published. Required fields are marked *