Concepts → Miscellaneous System Variable
About a miscellaneous system variable
There is just one miscellaneous system variable:
Variable | Data Type | Description | Example |
---|---|---|---|
$user | string | The lowercase login name for the user | myadmin |
When you sign in to the Analytics Service, the Analytics Service creates a user session. A user session can contain session variables as well as other system variables. Most session variables are immutable once a value has been assigned. The $user
system variable is immutable as a user's login name can not be modified.
The $user
system variable has some usage restrictions. For example, it is not possible to reference the $user
system variable in a formula expression for a physical schema table formula column.