ID()

From Recital Documentation Wiki
Revision as of 12:32, 24 March 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Environment


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