F$USER(): Difference between revisions

From VSI OpenVMS Wiki
Jump to navigation Jump to search
Created page with "'''F$USER()''' is a lexical function that returns the current user identification code (UIC) in named format as a character string. The F$USER fu..."
 
(No difference)

Latest revision as of 19:10, 28 June 2019

F$USER() is a lexical function that returns the current user identification code (UIC) in named format as a character string. The F$USER function has no arguments, but must be followed by parentheses.

Syntax

F$USER()

Return Value

A character string containing the current UIC, including brackets ([ ]). The UIC is returned in the format [group-identifier,member-identifier].

Examples

$ UIC = F$USER()
$ SHOW SYMBOL UIC
  UIC = "[GROUP6,JENNIFER]"

In this example, the F$USER function returns the current user identification code and assigns it to the symbol UIC.