Re: Setting rights on an AD account using vb
- From: "Albert Kikkert" <a.kikkert@xxxxxxxxx>
- Date: Tue, 1 May 2007 16:27:37 +0200
Everybody thanks for the replies.
I think I'll be going with the subinacl solution.
Doesn't seem to hard to figure out.
"Jeremy" <jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DA7229DF-44A4-44C0-8CFE-25D239376171@xxxxxxxxxxxxxxxx
I'm not sure about how to do this in vbscript, but i'm pretty sure
subinacl could do it (free download from MS). It can modify permissions
on just about anything. Be careful though, the syntax is a bit
challenging.
"Albert Kikkert" <a.kikkert@xxxxxxxxx> wrote in message
news:ujgixkyhHHA.392@xxxxxxxxxxxxxxxxxxxxxxx
Dear all,
I'm looking for a way to set security rights on an active diectory user
account using Vbscript.
The thing is, we have a lot of users (12.000) in one OU and we have
multiple account operators.
However we don't want ALL operators to be able to manage all accounts.
Creating sub-OU's is not an option because users can have multiple jobs
in our company and consequently have multiple operators.
Therefore I want to be able to give account operators rights on accounts,
but ONLY the ones I want them to manage.
I found that I could get the security information using the
"ntSecurityDescriptor" object, but I cannot find anything to set them.
If anyone could post up a code snippet or at least point me in the right
direction I'd really appreciate it.
Regards,
Albert.
.
- Prev by Date: Re: Editing a text file
- Next by Date: RE: Compare two text streams
- Previous by thread: How to change script to run thru multiple objects
- Next by thread: Re: (beta) -- Get longname of shortname, or get both from whatever mix...
- Index(es):
Relevant Pages
|