fgl_username()

fgl_username() returns a CHAR(n) value, which is the user name under which the current process is being run.

This function should be used in preference to the SQL keyword USER in database statements, because the returned value of USER can be dependent on the database engine.

MAIN

 DEFINE str STRING

 LET str = "This process is currently run under the username: ", fgl_username()

 CALL fgl_winmessage("Info",str clipped,"info")

END MAIN

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.