Using the Inteactive Tcl Command Prompt

Prev Next

To use dpadmincmd interactively

  1. To launch an interactive Tcl command prompt, do one of the following:

    • On Windows, open a Command Prompt windows and navigate to %PROGRAMFILES%\VASCO\IDENTIKEY Authentication Server\bin.
    • On Linux, open a terminal and navigate to /usr/bin/.
  2. Type the following command:

    dpadmincmd

    This will open a Tcl command prompt, where you can enter Tcl commands. Tcl Command-Line Administration tool automatically loads the OneSpan Tcl extensions, so that they can be used without needing to specify the OneSpan 'namespace'.

    %

  3. Before any data administration commands will work, you need to perform an administrative logon to the OneSpan Authentication Server instance.

    % logon { userid userid password password }

    If the logon is successful, the output will indicate a session number. Otherwise, an error message will be displayed.

  4. Once there has been a successful logon, you can enter other commands, for example:

    % user query {userid admin}

    {domain master userid admin has_dp Unassigned status 0 created {2006/05/11 11:05:32} modified {2006/05/11 11:05:32}}

  5. To log off from the session, use the logoff command. To exit, use the exit command.