Difference between revisions of "USERDOMAIN()"
From Lianjapedia
(Created page with '==Purpose== Function to return the login name of the current user as defined in the Lianja Users Workspace ==Syntax== USERDOMAIN([<expC>]) ==See Also== GETGID(), [[GETPID()…') |
Yvonne.milne (Talk | contribs) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return the | + | Function to return the domain/tenancy information for the current or specified user as defined in the Lianja Users Workspace |
==Syntax== | ==Syntax== | ||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USER()]], [[USERNAME()]], [[USERROLES()]] | + | [[Database Tenancies]], [[GETGID()]], [[GETPID()]], [[GETUID()]], [[Guide to the Users Workspace (Video)]], [[ID()]], [[MASKEDDATA()]], [[MD5()]], [[SET ROWFILTER]], [[SYSDATAMASKS]], [[SYSPERMS]], [[SYSROLES]], [[SYSROWFILTERS]], [[USER()]], [[USERDATAMASK()]], [[USEREMAIL()]], [[USERFULLNAME()]], [[USERNAME()]], [[USERROLES()]], [[USERROWFILTER()]], [[Users Tables]], [[USERTENANCY()]] |
==Description== | ==Description== | ||
− | The USERDOMAIN() function returns the domain information for the current user or for the username in the optional character expression <expC> as defined in the Lianja Users Workspace. | + | The USERDOMAIN() function returns the domain/tenancy information for the current user or for the username specified in the optional character expression <expC> as defined in the Lianja Users Workspace. This is a synonym of the USERTENANCY() function. |
==Example== | ==Example== | ||
Line 19: | Line 19: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Users and Roles]] |
Latest revision as of 07:05, 12 August 2020
Contents
Purpose
Function to return the domain/tenancy information for the current or specified user as defined in the Lianja Users Workspace
Syntax
USERDOMAIN([<expC>])
See Also
Database Tenancies, GETGID(), GETPID(), GETUID(), Guide to the Users Workspace (Video), ID(), MASKEDDATA(), MD5(), SET ROWFILTER, SYSDATAMASKS, SYSPERMS, SYSROLES, SYSROWFILTERS, USER(), USERDATAMASK(), USEREMAIL(), USERFULLNAME(), USERNAME(), USERROLES(), USERROWFILTER(), Users Tables, USERTENANCY()
Description
The USERDOMAIN() function returns the domain/tenancy information for the current user or for the username specified in the optional character expression <expC> as defined in the Lianja Users Workspace. This is a synonym of the USERTENANCY() function.
Example
? userdomain() lianja.com