createACLEntry (NotesACL - JavaScript)

Creates an entry in the ACL with the name and level that you specify.

Defined in

NotesACL

Syntax

createACLEntry(name:string, level:int) : NotesACLEntry
Parameter Description
name The name of the person, group, or server for whom you want to create an entry in the ACL. You must supply the complete name, but hierarchical names can be in abbreviated format. Case is not significant.
level The level that you want to assign to this person, group, or server in the ACL. May be any of the following:

0 LEVEL_NOACCESS

1 LEVEL_DEPOSITOR

2 LEVEL_READER

3 LEVEL_AUTHOR

4 LEVEL_EDITOR

5 LEVEL_DESIGNER

6 LEVEL_MANAGER

Return value Description
NotesACLEntry The newly-created entry.

Usage

You must call save on the ACL if you want the modified ACL to be saved to disk.