Xbasic

USER_NAME Function

Syntax

String as C = user_name()

Description

USER_NAME() returns the name of the current logged on user. Requires that the database be password protected.

For Web applications, use Context.Security.CurrentUser.

Limitations

Desktop applications only.

See Also