Sys_UserLoggedOn

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