CreateACLEntry (NotesACL - LotusScript®)

Creates an entry in the ACL with the name and level that you specify. When used with OLE automation, this method allows you to create a NotesACLEntry object without using New.

Defined in

NotesACL

Syntax

Set notesACLEntry = notesACL .CreateACLEntry( name$ , level% )

Parameters

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:

Level

Description

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

Return value

notesACLEntry

NotesACLEntry. The newly created entry.

Usage

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

For more information, see the "NotesACLEntry class."

Example