
NT login script to query group membership....
There's a little MS program called INGROUP.EXE which will indicate (via
its exit code) group membership. You may have trouble getting the exit
code from perl, however, so you might need to put INGROUP into a batch
file that creates a flag file. This turns the exit code test into a
file existence test, for which you can use perl's -e operator.
--
Jaime Metcher
P.S. Martien, if Mark gets this to fly, every desktop on his network
will have the word "perl" displayed on it for the duration of the logon
script. I think this should be encouraged, don't you?
Quote:
> Hi folks,
> I need to change my login script so drives are mapped according to what
> groups a user belongs to. The NT resource kit has some utilities that will
> take care of this for me, but they don't work for Win95 users. Is there way I
> can get this info into my login script?
> Thanks for any suggestions.
> Cheers,
> Mark