renameRole (ACL - Java)

Changes the name of a role.

Defined in

ACL

Syntax

public void renameRole(String oldname, String newname)
    throws NotesException

Parameters

String oldname

The current name of the role. Do not put brackets around the name.

String newname

The new name you want to give to the role. Do not specify the brackets.

Usage

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

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

Example