Skip to main content
Version: 11.2

OsUserName

note

This article is about the OsUserNameRules Engine property.

OsUserName​

The OsUserName Rules Engine property returns the name of the user currently logged in on the Windows operating system.

Getting this property​

You can get the current value of this property by executing:

SELECT RulesEngine.GetProperty( 'OsUserName' )

This entire statement is case-insensitive, including the property name.