Syntax
id& = GetTSSessionId
Description
The Session ID of the Terminal Services client. This is 0 if running on the console or if Terminal Services is not running.
Example
Sub Main()
myid& = GetTSSessionId
MsgBox "Terminal Services Session Id = " & myid&
End Sub
More information
CIMPLICITY Extensions to Basic