Hello James and welcome to the board.

Please try the following.



IF INGROUP('YourDomainName\YourGroupName')
  ? 'Well.. what do you know, I am in the group'
ELSE
  ? 'Well.. what do you know, Im not in the group'
ENDIF



I'm thinking you may need to add the DOMAIN as part of the statement, and possibly use a /F switch for a fresh Token check.

[ 21. March 2003, 23:07: Message edited by: NTDOC ]