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

See also CurrentUserName

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

It is mostly used for WPF client-side. On the server, the logged-in user is a server account.

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