# GetLogonMode command

The GetLogonMode BASIC program (Windows
Only) returns a string representing whether or not the Windows Authentication
logon mode is enabled.

## Syntax

```
GetLogonMode
```

## Description

This program returns the current
value of the Logon Security options (which are specified from the
D3 Connect tab in the D3 Device Manager (see the *D3 System Administration Guide* for more information).

- If the Users File option is selected, returns "D3 DM, USERS, mode".

- If the Windows Login option is selected, returns "Windows Authentication mode".

## Examples

```
GetLogonMode
Windows Authentication mode
```

---
Source: https://d3codex.com/tcl/getlogonmode-command/ - part of the D3Codex reference.
