# otp.misc.get_username

### get_username()

Returns the string with the name of the user executing the query
and authenticated login name of the user.

* **Return type:**
  [`Operation`](https://docs.pip.distribution.sol.onetick.com/api/operation/root.html.md#onetick.py.Operation)

### Examples

```pycon
>>> data = otp.Tick(USER=otp.get_username())
>>> otp.run(data)
        Time               USER
0 2003-12-01  onetick (onetick)
```
