RenameRole (NotesACL - LotusScript®)

Changes the name of a role.

Defined in

NotesACL

Syntax

Call notesACL .RenameRole( oldName$ , newName$ )

Parameters

oldName$

String. The current name of the role. The recommended style is to use just the name, with no parentheses or brackets around it. If brackets surround the name, they will be stripped and the enclosed name used.

newName$

String. The new name you want to give to the role. The recommended style is to use just the name, with no parentheses or square brackets around it. If square brackets surround the name, they will be stripped and the enclosed name used.

Usage

When you rename a role, any entries in the ACL that had the old role get the new role.

Example