Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows NT Security
Message
 
 
To
10/08/2000 13:15:00
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00403510
Message ID:
00403581
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform