Skip to main content

Delete-Credential

Command Description

Delete specified name

Command Prototype

bRet = Credential.Delete(cName,cType)

Parameter Description

ParameterRequiredTypeDefaultDescription
cNameTruestring""Name of the credential to delete
cTypeTrueenum"normal"Credential type

return

bRet,The variable used to save the output of the command.

Demo

TracePrint("--------------------------Remove Credentials------------------- --------") 
//-------------------------------------------------------------------------------
//[Remarks] Delete the specified credentials.
//Input parameter 1:
// cName--credential name. NOTE: The name of the credential, used to distinguish each credential
// cType--credential type. Note: the type of credential
//out parameters:
// bRet--The variable to which the output of the function call is saved.
//Command prototype: bRet = Credential.Delete(cName,cType)
bRet = Credential.Delete("Command Library 6.0","normal")
TracePrint(bRet)