例: RenameRole method

次のスクリプトは、ロール [HR Contact] のロール名を [Human Resources] に変更します。[HR Contact] のロールを持っていたユーザーは [Human Resources] のロールを持つことになります。

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