Get credentials
Command Description
Obtain the specified credentials value from the "Data Assets - credentials" module of the Commander
Command Prototype
objCredential = CommanderCredential.GetCredential(credName)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
credName | True | dynamicEnum | "" | Select from the credentials names created by the user in the "Data Assets - credentials" module of the Commander |
Return result
ObjCredential, Assign the result of running the command to this variable.
Run instance
/*********************************Get Credential****************************************
Command Prototype:
objCredential = CommanderCredential.GetCredential(credName)
Input Parameters:
credName -- Credential name. Note: Select from the credential names created by the user in the "Data Assets - Credentials" module of the Robot Commander.
Output Parameter:
objCredential -- The variable where the output of the function call will be saved.
Notes:
None
********************************************************************************/
Dim objCredential = ""
objCredential = CommanderCredential.GetCredential("")
TracePrint(objCredential)