UserName Property

Returns the name of the currently signed on user. Read only.

System object

System.UserName = [string]

OpenAccess object

App.OpenAccess.UserName = [string]

Where string is a string expression specifying the user who is currently signed on (see notes below).

Client support

   Newlook Smartclient

   Newlook Server

Use

For the System object, if Newlook is running in a Terminal Services client session, this property will return the name of the user signed on to the Terminal Services session, which may not be the same as the name of the user signed on to the local system.

For the OpenAccess object, this property will return the username of the signed on user to the Openlook session. Note that this property will only be available if the user has navigated to an Openlook-enabled screen.

See Also

ComputerName property | RemoteSession property | JobNumber property | JobName property | SystemName property | Version property | RunCommand method

Applies To

System object | OpenAccess object


© 2004-2021 looksoftware. All rights reserved.