-
-
Notifications
You must be signed in to change notification settings - Fork 5
CurrentUser
Anthony Headley edited this page Jul 27, 2023
·
1 revision
CurrentUser() : UserDataObject
Returns a data object to the currently logged-in user session.
None
Type | Description |
---|---|
UserDataObject | The currently logged in user |
Echo("Current Users")
Echo("Name: " .. CurrentUser().Name) -- Admin
Echo("Rights: " .. CurrentUser().Rights) -- Admin
Echo("Language: " .. CurrentUser()["Language"]) -- en