JSI Tip 0287 - Test for group membership.


Somar's (tm) Testgrp is a freeware Windows NT console utility that can be used to test for group membership in logon scripts. For example:

    testgrp "domain admins"
    if errorlevel 1 goto skip
    call domadmin.bat

If you have Windows 95 clients, see tip 120.

to index
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.