Page tree
Skip to end of metadata
Go to start of metadata

Description

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

VBScript
If bStatus Then bStatus = Sys_UserLoggedOn()
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines


Related functions

Sys_LogOffUser

  • No labels