Skip to content

qie.getVarUsername

Signature: qie.getVarUsername(name)

Returns: String username - the username from the variable

Gets the username from the variable name.

Note

A TypeMismatchException will be thrown if the variable is not of type Credentials.

Parameters

Type Name Description Default
String name the name of the global or local variable of type Credentials

Example

// Gets the username from a Credentials variable
var username = qie.getVarUsername("myVariableCredentials"); // <username>