Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Determines if a user is logged on

 


Syntax

Sys_UserLoggedOn() As Boolean

 


Return Value

If a user is logged on gbValue is returned True and gsValue contain domain\UserName for the user logged on


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
If bStatus Then bStatus = Sys_UserLoggedOn()
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

 


Related functions

Sys_LogOffUser