🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators currentusername

A legacy way to get the user name of the currently logged-in user on a Windows machine.

This is mostly used for WPF client-side applications. On the server, the logged-in user is some server account.

To get the application user, use the SysSingleton.oclSingleton.CurrentUser pattern