renameNotesUser (NotesAdministrationProcess - JavaScript)

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

Defined in

NotesAdministrationProcess

Syntax

renameNotesUser(username:string, lastname:string, firstname:string, middleinitial:string, orgunit:string) : string

renameNotesUser(username:string, lastname:string, firstname:string, middleinitial:string, orgunit:string, altcommonname:string, altorgunit:string, altlanguage:string, renamewindowsuser:boolean) : string

Parameter Description
String username The hierarchical name of the user in canonical or abbreviated form.
String lastname New last name. An empty string means just that. An asterisk (*) means no change.
String firstname New first name. An empty string means just that. An asterisk (*) means no change.
String middleinitial New middle initial. An empty string means just that. An asterisk (*) means no change.
String orgunit New organizational unit. An empty string means just that. An asterisk (*) means no change.
String altcommonname New alternate common name. An empty string means just that. An asterisk (*) means no change. Defaults to no change.
String altorgunit New alternate organizational unit. An empty string means just that. An asterisk (*) means no change. Defaults to no change.
String altlanguage New alternate language. An empty string means just that. An asterisk (*) means no change. Defaults to no change.
boolean renamewindowsuser
  • true to change 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 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.
  • false (default) to not change the corresponding Windows user account full name
Return value Description
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 AdministrationProcess properties must specify a certifier.

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

Language cross-reference

renameNotesUser in LotusScript® NotesAdministrationProcess class

renameNotesUser in Java AdministrationProcess class