Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Directory (Add/Edit) using VFP 9
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01242228
Message ID:
01242259
Views:
14
Take a look at WMI scripting. I don't the full solution but this would be the the idea.
objRootDSE = GetObject("LDAP://rootDSE")
objContainer = GetObject("LDAP://" +objRootDSE.Get("defaultNamingContext"))
loComputer = objcontainer.Create("Computer", "cn=" + 'Mike')
>I've been tasked with populating a client's AD with records in a SQL table.
>
>I have found a ton of info about using .Net to do this, but I haven't been able to make it work.
>
>That said, I'm much more comfortable working in VFP and wanted to see if anyone else has done anything with adding/updating AD with VFP?
>
>Any info is appreciated....
>
>Thanks,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform