As mentioned before, use the KiXtart LOGOFF() function to force a user to be logged off.
code:
IF @WKSTA = 'PDKCITRIX1' OR @WKSTA = 'PDKCITRIX2'
$rc=LOGOFF(1)
ENDIF

_________________________
There are two types of vessels, submarines and targets.