Difference between revisions of "USERDOMAIN()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USER()]], [[USEREMAIL()]], [[USERNAME()]], [[USERROLES()]], [[Users Tables]]
+
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USER()]], [[USERDATABASE()]], [[USEREMAIL()]], [[USERFULLNAME()]], [[USERNAME()]], [[USERROLES()]], [[USERTENANCY()]], [[Users Tables]]
  
 
==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==

Revision as of 11:08, 8 December 2014

Purpose

Function to return the domain information for the current or specified user as defined in the Lianja Users Workspace

Syntax

USERDOMAIN([<expC>])

See Also

GETGID(), GETPID(), GETUID(), ID(), USER(), USERDATABASE(), USEREMAIL(), USERFULLNAME(), USERNAME(), USERROLES(), USERTENANCY(), Users Tables

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