Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add a user to Windows AD Group??
Message
De
31/05/2011 02:23:14
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01512239
Message ID:
01512298
Vues:
53
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform