F$USER()

From VSI OpenVMS Wiki
Revision as of 19:10, 28 June 2019 by Darya.zelenina (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.