# Inspect command and users

The currect command can be examined using

- **isCommandNew()**
- **isCommandEdit()**
- **isCommandList()**

Note that commands are allways added as a class to the #TempusServaPage element

```html
<div id="TempusServaPage" class="TempusServaPage listCommand da_DK">
```

User types can be determined using

- **isUserAdmin()**
- **isUserExternal()**
- **isUserNormal()**
- **isUserExclusive()** (from version 6248)

Note that special roles are allways added as a class to the #TempusServaPage element

```html
<div id="TempusServaPage" class="TempusServaPage IsAdministrator listCommand da_DK">
```

This allows for custom CSS for special roles

```css
.IsAdministrator h1 { color: red; }
```