Difference between revisions of "ID()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return the login name of the current user
 
Function to return the login name of the current user
 
  
 
==Syntax==
 
==Syntax==
 
ID()
 
ID()
 
  
 
==See Also==
 
==See Also==
[[DISPLAY USERS]], [[GETGID()]], [[GETPID()]], [[GETUID()]], [[LIST USERS]], [[SET COMPATIBLE]], [[USER()]]
+
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[USER()]]
 
+
  
 
==Description==
 
==Description==
 
The ID() function returns the login name of the current user.  The login name is assigned by the operating system.  This function is synonymous with the USER() function.
 
The ID() function returns the login name of the current user.  The login name is assigned by the operating system.  This function is synonymous with the USER() function.
 
If COMPATIBLE is set to VFP, the ID() function is compatible with Visual FoxPro and returns user and machine information in the following format:
 
 
<pre>
 
MACHINEID # userid
 
</pre>
 
 
  
 
==Example==
 
==Example==
Line 27: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 08:02, 10 February 2012

Purpose

Function to return the login name of the current user

Syntax

ID()

See Also

GETGID(), GETPID(), GETUID(), USER()

Description

The ID() function returns the login name of the current user. The login name is assigned by the operating system. This function is synonymous with the USER() function.

Example

?id()
william