TM1User
TM1User returns the user name of the current TM1® user.
If the current TM1 user is not connected to a server, or if the specified server is not running, TM1User returns an empty string.
If TM1User is executed against a server that is configured to use CAM authentication, the function returns the internal user name/CAMID, not the display name.
This worksheet function is valid in worksheets only.
Syntax
TM1User("ServerName")
Argument |
Description |
---|---|
ServerName |
The name of the server to which the TM1 user is connected. |
Example
TM1User("SData")
If a user named BrianT is logged in to the SData server, and that user executes the TM1User function, the above example returns BrianT.