Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows NT Security
Message
 
 
À
10/08/2000 13:15:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00403510
Message ID:
00403581
Vues:
22
>Am looking for some Window API Function calls that will return Windows NT Security information.
>Are there any or am I barking up the wrong tree.

There are a number of them. Some are:

GetSecurityInfo
GetSecurityDescriptorControl
GetSecurityDescriptorDacl
GetSecurityDescriptorGroup
GetSecurityDescriptorLength
GetSecurityDescriptorOwner
GetSecurityDescriptorSacl

Most of these are almost unusable in VFP because of the structures and pointers involved. You may be able to put something together using Ed Rauh's CLSHEAP or Christof Lange's STRUCT classes (not sure, never tried).

What did you want to do with them? There may be an easier way. MS provides two excellent COM wrappers for various NT system and security functions (Active Directory Services Interface - ADSI and Windows Management Instrumentation - WMI). Maybe one of these can handle what you want to do and they are much friendlier to work with.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform