# CurrentUser

Source: https://help.malighting.com/grandMA3/2.3/HTML/keyword_current_user.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the CurrentUser keyword in the command line, use one of the options:

- Type **CurrentUser**
- ​Type the shortcut **CU** or **Cur**

## Description

CurrentUser represents the user that is currently logged in.

## Syntax

\[Function] CurrentUser (\["Property"] \["Value"])

## Examples

- To list all properties and their values of the current user, type:

|                                                                    |                                      |
| ------------------------------------------------------------------ | ------------------------------------ |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>List CurrentUser |

 

- To set the right of the current user to admin, type:

|                                                                    |                                                      |
| ------------------------------------------------------------------ | ---------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Set CurrentUser "Rights" "Admin" |