ID()

From Recital Documentation Wiki
Revision as of 13:05, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Environment


Purpose

Function to return the login name of the current user


Syntax

ID()


See Also

DISPLAY USER, GETGID(), GETPID(), GETUID(), LIST USER, 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