ID()

From Recital Documentation Wiki
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 Server, Recital