This shows you the differences between two versions of the page.
dev:sql:functions:session_user [2010/07/28 22:42] els |
dev:sql:functions:session_user [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | |||
- | ====== Omnidex SQL Function: SESSION_USER ====== | ||
- | ===== Description ===== | ||
- | The USER, CURRENT_USER and SESSION_USER functions return the current user of Omnidex. Omnidex does not provide a user security layer, and so these functions always return a value of "DEFAULT". | ||
- | |||
- | This function returns a C STRING datatype. | ||
- | |||
- | ===== Syntax ===== | ||
- | SESSION_USER | ||
- | |||
- | ===== Examples ===== | ||
- | ==== Example 1: Column ==== | ||
- | <code> | ||
- | > select session_user from $omnidex; | ||
- | |||
- | SESSION | ||
- | ------- | ||
- | DEFAULT | ||
- | |||
- | </code> | ||
- | |||
- | ====== Additional Resources ====== | ||
- | |||
- | See also: | ||
- | {{page>dev:sql:functions:see_also_variables&nofooter&noeditbtn&noheader}} | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} | ||