Hi

I would like do have a common loginscript and in that script link to other
scripts according to e.g. the membership to an AD group.

Could be like this in pseudo

<<Common login script
map common network drives
distribute common templates and documents

if memberOF("technicians1") then runscript("tech1.vbs") else
if memberOF("technicians2") then runscript("tech2.vbs")
if memberOF("admin") then runscript("admin.vbs")

etc.

Is there an example somewhere?

TIA
Henry

Re: Detect if "member of" some group by Paul

Paul
Mon May 02 09:44:01 CDT 2005

henry a écrit :
> Hi
>
> I would like do have a common loginscript and in that script link to other
> scripts according to e.g. the membership to an AD group.
>
> Could be like this in pseudo
>
> <<Common login script
> map common network drives
> distribute common templates and documents
>
> if memberOF("technicians1") then runscript("tech1.vbs") else
> if memberOF("technicians2") then runscript("tech2.vbs")
> if memberOF("admin") then runscript("admin.vbs")
>
> etc.
>
> Is there an example somewhere?
>
> TIA
> Henry
>
>
See HillTop Lab web site : http://www.rlmueller.net/freecode1.htm

Paul