Difference between revisions of "USERNAME()"

From Lianjapedia
Jump to: navigation, search
(Created page with '==Purpose== Function to return the login name of the current user as defined in the Lianja Users Workspace ==Syntax== USER() ==See Also== GETGID(), GETPID(), [[GETUID()…')
 
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
==Syntax==
 
==Syntax==
USER()
+
USERNAME()
  
 
==See Also==
 
==See Also==
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USERDOMAIN()]], [[USERNAME()]], [[USERROLES()]]
+
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[Guide to the Users Workspace (Video)]], [[ID()]], [[LDAP_LOGIN()]], [[LDAP_USERROLES()]], [[MASKEDDATA()]], [[MD5()]], [[SET ROWFILTER]], [[SYSDATAMASKS]], [[SYSPERMS]], [[SYSROLES]], [[SYSROWFILTERS]], [[:Category:System Tables|System Tables]], [[USER()]], [[USERDATAMASK()]], [[USERDOMAIN()]], [[USEREMAIL()]], [[USERFULLNAME()]], [[USERROLES()]], [[USERROWFILTER()]], [[Users Tables]], [[USERTENANCY()]]
  
 
==Description==
 
==Description==
Line 13: Line 13:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
?username()
+
? username()
 
william
 
william
 
</code>
 
</code>
Line 19: Line 19:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Users and Roles]]

Latest revision as of 10:55, 24 February 2017

Purpose

Function to return the login name of the current user as defined in the Lianja Users Workspace

Syntax

USERNAME()

See Also

GETGID(), GETPID(), GETUID(), Guide to the Users Workspace (Video), ID(), LDAP_LOGIN(), LDAP_USERROLES(), MASKEDDATA(), MD5(), SET ROWFILTER, SYSDATAMASKS, SYSPERMS, SYSROLES, SYSROWFILTERS, System Tables, USER(), USERDATAMASK(), USERDOMAIN(), USEREMAIL(), USERFULLNAME(), USERROLES(), USERROWFILTER(), Users Tables, USERTENANCY()

Description

The USERNAME() function returns the login name of the current user as defined in the Lianja Users Workspace. The operating system login name can be obtained using the ID() or USER() functions.

Example

? username()
william