renameRole (NotesACL - JavaScript™)
Changes the name of a role.
Defined in
NotesACLSyntax
renameRole(oldname:string, newname:string) : void
Parameter | Description |
---|---|
oldname |
The current name of the role. Do not put square brackets around the name. |
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.