Re: Detecting group membership from a .cmd file
- From: "Paul Bergson [MVP-DS]" <pbergson@xxxxxxxxxxxxxxxxx>
- Date: Wed, 19 Sep 2007 06:56:05 -0500
Link to ifmember
http://www.microsoft.com/downloads/details.aspx?familyid=07C2F6D7-815E-4FA0-9043-4E4635CCD417&displaylang=en
--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2003, 2000 (Early Achiever), NT
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"maverick" <maverick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:16FAB6F6-54AE-4119-BFF1-3ACB6598DD6B@xxxxxxxxxxxxxxxx
You can use if member resource kit tool to find that out.
eg:if member 'sales'
<run xyz.cmd>
cheers
maverick
"Mario - Roma" wrote:
I need to detect if the user running a .cmd file is member of a specific
Active Directory group.
How can I check the group membership?
I need to know if the user is member of the "Sales" group or not.
I made some tests using the dsget command, but it looks complkex and is
slow
at runtime.
Is there a simpler and smarter solution?
Regards
Mario
.
- Prev by Date: Re: Subnets in AD Sites & Serv.
- Next by Date: Re: DNS Error 4000, 4013, 4015
- Previous by thread: Re: Subnets in AD Sites & Serv.
- Next by thread: help on login script
- Index(es):
Relevant Pages
|