Skip to content

qie.getVarPassword

Signature: qie.getVarPassword(name)

Returns: String password - the password from the variable

Gets the password 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 password from a Credentials variable (returned as plain text)
var plainTextPassword = qie.getVarPassword("myVariableCredentials"); // <password>