|
-
Mar 24th, 2002, 12:04 PM
#1
Thread Starter
New Member
change local admin password
I'm trying to develop an application to ease the administration of my large network.
I was wondering if an API is available that will allow me to change local user accounts on workstations and member servers?
I'm able to enumerate active workstations and member servers on my domain, now I just need an API to change the local admin password.
I know I can use ADSI, but I want to see if an API will work before I go any farther.
Any ideas??
Thanks...
-
Mar 25th, 2002, 03:07 AM
#2
Fanatic Member
Use
Declare Function NetUserChangePassword Lib "NETAPI32.DLL" (ByVal domainname As String, ByVal userName As String, ByVal oldpassword As String, ByVal newpassword As String) As Long
Regards,
Pradeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|