Using Win32 functions in Visual FoxPro Image Gallery
Security
..msdn
ConvertSidToStringSid
GetAce
GetAclInformation
GetFileSecurity
GetLengthSid
GetNamedSecurityInfo
GetSecurityDescriptorDacl
GetSecurityDescriptorOwner
ImpersonateLoggedOnUser
IsValidSid
IsWellKnownSid
LogonUser
LookupAccountName
LookupAccountSid
LsaClose
LsaEnumerateLogonSessions
LsaFreeMemory
LsaFreeReturnBuffer
LsaGetLogonSessionData
LsaLookupSids
LsaOpenPolicy
RevertToSelf
Code examples:
Reading security permissions for NTFS files and folders
GetSecurityDescriptorDacl
..msdn    Add comment     W32 Constants      Translate this page
Retrieves a pointer to the discretionary access control list (DACL) in a specified security descriptor.
Code examples:
Reading security permissions for NTFS files and folders
Declaration:
BOOL GetSecurityDescriptorDacl(
    PSECURITY_DESCRIPTOR pSecurityDescriptor,
    LPBOOL lpbDaclPresent,
    PACL* pDacl,
    LPBOOL lpbDaclDefaulted
);

FoxPro declaration:
DECLARE INTEGER GetSecurityDescriptorDacl IN advapi32;
    INTEGER pSecurityDescriptor,;
    INTEGER @lpbDaclPresent,;
    INTEGER @pDacl,;
    INTEGER @lpbDaclDefaulted
Parameters:
pSecurityDescriptor
[in] A pointer to the SECURITY_DESCRIPTOR structure that contains the DACL. The function retrieves a pointer to it.

lpbDaclPresent
[out] A pointer to a value that indicates the presence of a DACL in the specified security descriptor.

pDacl
[out] A pointer to a pointer to an access control list (ACL). If a DACL exists, the function sets the pointer pointed to by pDacl to the address of the security descriptor"s DACL.

lpbDaclDefaulted
[out] A pointer to a flag set to the value of the SE_DACL_DEFAULTED flag in the SECURITY_DESCRIPTOR_CONTROL structure if a DACL exists for the security descriptor.
Return value:
If the function succeeds, the function returns nonzero.
Word Index links for the GetSecurityDescriptorDacl :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-05-30 11:04:52
Modified: 2006-05-30 11:07:45
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
9 sec.Function: 'WinHttpConnect'
18 sec.Function: 'waveInClose'
28 sec.Function: 'ConvertSidToStringSid'
Function group: 'Security'
39 sec.Function: 'PathFindFileName'
50 sec.Function: 'SQLManageDataSources'
1.03 min.Function: 'CertFindCertificateInStore'
1.23 min.
Function group: 'MSHTML Reference'
1.45 min.Function: 'GdipGetPropertyCount'
1.63 min.Function: 'accept'
1.82 min.Function: 'CloseClipboard'
Google
Advertise here!