Re: Open a group as domain administrator
- From: "Al Dunbar" <alandrub@xxxxxxxxxxx>
- Date: Sat, 21 Mar 2009 14:22:40 -0600
<gimme_this_gimme_that@xxxxxxxxx> wrote in message
news:7a22ec43-f6c7-4b19-9092-48444cdc79cc@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a statement like this one:
Set myGroup = GetObject("LDAP://
CN=MyGroup,OU=SomeotherOu,OU=SomeOu,OU=Rights,OU=Groups,OU=Americas,DC=somplace,DC=msds,DC=rhi,DC=com")
Letter I want to execute
myGroup.SetInfo
as the domain administrator.
What is the syntax?
Set myGroup = GetObject("LDAP://
CN=MyGroup,OU=SomeotherOu,OU=SomeOu,OU=Rights,OU=Groups,OU=Americas,DC=somplace,DC=msds,DC=rhi,DC=com",strUsername,strPassword)
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.
/Al
.
- Follow-Ups:
- Re: Open a group as domain administrator
- From: gimme_this_gimme_that@xxxxxxxxx
- Re: Open a group as domain administrator
- References:
- Open a group as domain administrator
- From: gimme_this_gimme_that@xxxxxxxxx
- Open a group as domain administrator
- Prev by Date: Re: Difference between a domain group and a local group
- Next by Date: Re: object dictionary
- Previous by thread: Re: Open a group as domain administrator
- Next by thread: Re: Open a group as domain administrator
- Index(es):
Relevant Pages
|