Re: Open a group as domain administrator

<gimme_this_gimme_that@xxxxxxxxx> wrote in message

I have a statement like this one:

Set myGroup = GetObject("LDAP://

Letter I want to execute


as the domain administrator.

What is the syntax?

Set myGroup = GetObject("LDAP://

I believe someone has already suggested you download the documentation for
vbscript. If you do, you will find all of the available functions
documented. The parameters that GetObject accepts have nothing to do with
alternate credentials. If you want a script to make use of the elevated
privileges of a domain administrator, the standard method is to either logon
with a domain admin account to run the script, run it as a scheduled task,
or use RUNAS to run it under alternate credentials.