I work for a public school district. I have a script that will add users to
Active Directory from a .CSV file. My problem is that I don't get
notification of new hires and new students. I also don't get notification
of students or employee's that leave. What I would like to do is have human
resourses a script that will add new accounts for the new employee's and
also an office script for new students. How can I have my script
authenticate as an administrator so that it will create the accounts? Thank
you

Re: Createing active directory users from non administrator accounts. by Eugene

Eugene
Mon Nov 01 05:46:09 CST 2004

Use openDS method

Set objDS = GetObject("LDAP:")

Set obj1 = objDS.OpenDSObject( _
"LDAP://server1/CN=Dept1,DC=Fabrikam,DC=com", _
varUsername, _
varPassword, _
ADS_SECURE_AUTHENTICATION + ADS_SERVER_BIND)

Only drawback is that admin password and username should be specified
as cleartext.


On Sat, 30 Oct 2004 17:43:59 GMT, "me" <1@2.3.4.com> wrote:

>I work for a public school district. I have a script that will add users to
>Active Directory from a .CSV file. My problem is that I don't get
>notification of new hires and new students. I also don't get notification
>of students or employee's that leave. What I would like to do is have human
>resourses a script that will add new accounts for the new employee's and
>also an office script for new students. How can I have my script
>authenticate as an administrator so that it will create the accounts? Thank
>you
>