Examples: RenameRole method

This script renames the "HR Contact" role to the "Human Resources" role. Anyone who previously had the HR Contact role now has the Human Resources role instead.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim acl As NotesACL
Set db = session.CurrentDatabase
Set acl = db.ACL
Call acl.RenameRole( "HR Contact", "Human Resources" )
Call acl.Save