RenameNotesUser (NotesAdministrationProcess - LotusScript®)

Enters a request in the Administration Requests database to rename a user.

Defined in

NotesAdministrationProcess

Syntax

noteID$ = notesAdministrationProcess .RenameNotesUser( username$ [ , lastname$ ] [ , firstname$ ] [ , middleinitial$ ] [ , orgunit$ ] [ , altcommonname$ ] [ , altorgunit$ ] [ , altlanguage$ ] [ , renamewindowsuser ] )

Parameters

username$

String. The hierarchical name of the user in canonical or abbreviated form.

lastname$

String. Optional. New last name. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

firstname$

String. Optional. New first name. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

middleinitial$

String. Optional. New middle initial. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

orgunit$

String. Optional. New organizational unit. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

altcommonname$

String. Optional. New alternate common name. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

altorgunit$

String. Optional. New alternate organizational unit. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

altlanguage$

String. Optional. New alternate language. An empty string means just that. An asterisk (*) means no change. Defaults to no change.

renamewindowsuser

Boolean. Optional. If True, RenameNotesUser also changes the corresponding Windows user account full name. The Domino® user's net user name, if defined, or short name is used as the Windows user name. The new values of lastname, firstname, and middleinitial (the common name in Domino®) are used to specify the the Window user's new full name. You must specify at least one of these parameters; unspecified parameters default to the user entry in the Domino® Directory. Defaults to False.

Return value

noteID$

String. The note ID of an entry created in the Administration Requests database, or an empty string if the certificate authority processes the request.

Usage

The NotesAdministrationProcess properties must specify a certifier.

You must specify at least one of these parameters: lastname, firstname, middleinitial, orgunit, altcommonname, altorgunit, or altlanguage.

Example