OsUserName

Previous Next

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.