Saleem: Please post your code in betweeen [CODE] tags as specified in the KiXtart Starter's Guide in the FAQ Forum.

I also made a slight mistake in the code provided to you by omitting the requisite double bashes. Corrected code is below:
code:
if ingroup('\\'+@wksta+'\Administrators')
? 'Administrator '+@userid
else
? 'Not an Administrator '+@userid
endif

This is documented in the KiXtart Manual.

[ 10. November 2002, 16:04: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.