moveUserInHierarchyComplete (AdministrationProcess - Java)

Enters a request in the Administration Requests database to rename a user based on a previous request to move the user in the hierarchy.

Defined in

AdministrationProcess

Syntax

public String moveUserInHierarchyComplete(String requestnoteid)
    throws NotesException
public String moveUserInHierarchyComplete(String requestnoteid, String lastname, String firstname, String middleinitial, String orgunit, String altcommonname, String altorgunit, String altlanguage, boolean renamewindowsuser)
    throws NotesException

Parameters

String requestnoteid

The note ID of the previous request to move the user in the hierarchy.

String lastname

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

String firstname

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

String middleinitial

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

String orgunit

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

Note: Do not duplicate the targetcertifier from the moveUserInHierarchyRequest method. Use this parameter to specify a qualifying organizational unit, such as "Industry" in the hierarchical name Alice Brown/Industry/Sales/Acme.

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 also 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 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

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.

This is phase 2 of the move. See MoveUserInHierarchyRequest for phase 1.

Example