SetUser

Action to set a user name to login to the Server.

Member of namespace

Maintenance Manager

Syntax

bool SetUser (string user)

Parameters

string user

Parameters

user: User name. Smart parameters are supported.

Returns

Always True.

Level

Batch level.

Details

Specifies the name of the user for the login to the Administrator and Engine databases. This will be the default value that is used for the SetupOpenApplication action.

When using LDAP or ADSI authentication, use the SetUser, SetStation, and SetApplication to login.

Example:
SetApplication("APT")
SetServer("Server 1")
SetAdminDB("*/tmadmin:cs")
SetEngineDB("*/tmengine:cs")
SetUser("Admin")
SetupOpenApplication("")