Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding NT Users and Groups and Other Related Tasks
Message
De
10/03/1998 02:28:20
 
 
À
09/03/1998 23:20:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00083508
Message ID:
00083551
Vues:
20
See my reply by email please.

Vlad

>Vlad,
>
>Sounds interesting. If it's a VB control with source code, I would be interested in seeing it. As long as it's something I can learn from and modify, if necessary. Because of security implications for the client, I would not feel comfortable using something without the ability to review the source.
>
>Also, please advise if this is something you intend to sell in the future, or whether you intend to make it publicly available.
>
>Regards,
>
>-- Randy
>
>>I developed an ActiveX control that does this. If you're interested I can send you by email a demo version.
>>
>>Vlad
>>
>>>I have a need to be able to have a VFP app add users and local groups to an NT domain. The app runs in an administrative context so there's no rights issue. I can run (very) basic commands like:
>>>
>>> RUN NET USER username password /ADD
>>>
>>>from a VFP application, but this gives me very little control (such as to know if the command failed). I was wondering if there are any standard API calls that could do the following:
>>>
>>>- check if a user name already exists (so I don't try to add one with same name)
>>>
>>>- add a user account (with some return value indicating success/failure)
>>>
>>>- check if a user is a memeber of a local group
>>>
>>>- add a user to an existing local group
>>>
>>>- (extra credit) figure out if a specified user has rights to a specified resource (like a file)
>>>
>>>If this stuff is possible and you have a good reference, I would be most appreciative.
>>>
>>>TIA,
>>>
>>>-- Randy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform