---
title: "Using the Inteactive Tcl Command Prompt"
slug: "oas-ag-using-the-inteactive-tcl-command-prompt-3-28"
updated: 2025-07-04T10:04:15Z
published: 2025-07-07T13:30:58Z
canonical: "docs.onespan.com/oas-ag-using-the-inteactive-tcl-command-prompt-3-28"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onespan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the Inteactive Tcl Command Prompt

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.
