Dim db As New NotesDatabase _
("Reykjavik", "data¥discuss.nsf")
Dim acl As NotesACL
Dim entry As NotesACLEntry
Set acl = db.ACL
Set entry = acl.GetEntry( "Bill Ehrhardt/East/ACME" )
Call entry.EnableRole( "Auditor" )
Call acl.Save
Sub enablePeople( acl As NotesACL, _
role As String, names As Variant )
Dim person As NotesACLEntry
Forall n In names
Set person = acl.GetEntry( n )
If ( person.Level = ACLLEVEL_NOACCESS ) Then
Set person = New NotesACLEntry _
( acl, n, ACLLEVEL_AUTHOR )
Call acl.Save
End If
Call person.EnableRole( role )
End Forall
Call acl.Save
End Sub