How would that negate the use of InGroup()?
Code:

If InGroup('Administrators','Domain Admins','Ontwikkeling','Helpdesk')
Use F: /delete /persistent
Shell 'NET USE F: \\server\share /PERSISTENT:NO'
EndIf

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.