(view source code of login_abort_if_admin.kix as plain text)
; Get the current date in YYYYMMDD format$Today = "@YEAR" + Right( "0@MONTHNO", 2 ) + Right( "0@MDAYNO", 2 )
; Create the directory if it doesn't existIf Exist( "\\Server\Logs\$Today\*.*" ) = 0
MD "\\Server\Logs\$Today"
EndIf
; Log current computer accessIf RedirectOutput( "\\Server\Logs\$Today\@USERID.log" ) = 0
"@WKSTA,@USERID,@DATE,@TIME,@PRIV@CRLF"$RC = RedirectOutput( "" )
EndIf
; Administrators should quit nowIf @PRIV = "ADMIN"
Quit 1
EndIf
page last modified: 2025-10-11; loaded in 0.0081 seconds