Difference between revisions of "USERDOMAIN()"

From Lianjapedia
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the domain information for the current or specified user as defined in the Lianja Users Workspace
+
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()]], [[USEREMAIL()]], [[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 specified 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

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