Difference between revisions of "ID()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Environment
 
  
  

Revision as of 15:39, 27 October 2009


Purpose

Function to return the login name of the current user


Syntax

ID()


See Also

DISPLAY USERS, GETGID(), GETPID(), GETUID(), LIST USERS, SET COMPATIBLE, 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.

If COMPATIBLE is set to VFP, the ID() function is compatible with Visual FoxPro and returns user and machine information in the following format:

MACHINEID # userid


Example

?id()
william


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer