Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a user to Windows AD Group??
Message
From
31/05/2011 02:23:14
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01512239
Message ID:
01512298
Views:
50
Hello Sergy
Thank you for your answer.
I downloaded the file and found a function:
FUNCTION AddUserToGroup
******************************************************************************
LPARAMETERS lcDominio,lcDomainFolder, lcOrgUnit, lcAccount, lcDominio2, lcDomainFolder2,lcOrgUnit2, lcGroup


And an example:
? AddUserToGroup("oficinas.redcam.es","","NUEVOS",lcDNI,"oficinas.redcam.es","",lcOU,lcGroupName)

I don't know what to put into the parameters?

How to call it when i want to add the user "test' to the group 'testgroup' ?
Our administrators created the group testgroup to controll access to the file system. (read,modify,delete files in a special folder)

our domain = mycompany.de
user = test
group = testgroup

Can you give me an example, how to get this done ?

Regards
Albert
Previous
Reply
Map
View

Click here to load this message in the networking platform