UserName Property (Process and Browser Objects)

Applies to TestComplete 15.45, last modified on December 01, 2022

Description

The UserName property holds the name of the user account under which the specified application process is running.

Declaration

TestObj.UserName

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A string holding the process user name (without the domain name).

See Also

ProcessName Property
ProcessType Property
System Property
Testing Applications Running Under Another User Account

Highlight search results