currentUserName

Syntax

currentUserName()

Description

Returns the user name (login) for the user that invoked the script containing currentUserName.

Parameters

None

Return type

string

Returns user name (login) of the user that invoked the script containing currentUserName.

Example

return currentUserName();

Returns a user name (login) of the user that invoked the script containing currentUserName.

See also