Represents a single entry in an access control list. An entry may be for a person, a group, or a server.
To create a new NotesACLEntry object, use one of the following:
New creates an entry in an ACL with the name and level that you specify.
You must call Save on the ACL if you want the modified ACL to be saved to disk.
Dim variableName As New NotesACLEntry( notesACL , name$ , level% )
or
Set notesACLEntry = New NotesACLEntry( notesACL , name$ , level% )
notesACL
The ACL that contains the entry you're creating.
name$
String. The name of the person, group, or server for whom you want to create an entry in the ACL.
level%
Constant. The level you want to assign to this person, group, or server in the ACL. May be any of the following:
ACLLEVEL_NOACCESS (0) |
No access |
|
---|---|---|
ACLLEVEL_DEPOSITOR (1) |
Depositor access |
|
ACLLEVEL_READER (2) |
Reader access |
|
ACLLEVEL_AUTHOR (3) |
Author access |
|
ACLLEVEL_EDITOR (4) |
Editor access |
|
ACLLEVEL_DESIGNER (5) |
Designer access |
|
ACLLEVEL_MANAGER (6) |
Manager access |
NotesACL provides three ways to access an existing NotesACLEntry.