ID()

From Recital Documentation Wiki
Revision as of 15:39, 27 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


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