@msdn=https://docs.microsoft.com/en-us/windows/desktop/api/securitybaseapi/nf-securitybaseapi-addaccessallowedace @pinvoke=http://pinvoke.net/$$$.htm Summary: The [AddAccessAllowedAce] function adds an access-allowed access control entry (ACE) to an access control list (ACL). The access is granted to a specified security identifier (SID). !!!!C# Signature: [DllImport("advapi32.dll", SetLastError = true)] static extern bool AddAccessAllowedAce(IntPtr pAcl, uint dwAceRevision, ACCESS_MASK AccessMask, IntPtr pSid); !!!!VB.NET Signature: <DllImport("advapi32.dll", SetLastError:=true)> _ Public Function AddAccessAllowedAce(pAcl As IntPtr, _ dwAceRevision As UInteger, _ AccessMask As ACCESS_MASK, _ pSid As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean End Function !!!!VB Signature: Public Declare Function AddAccessAllowedAce Lib "advapi32.dll" _ (pAcl As Long, _ dwAceRevision As Long, _ AccessMask As ACCESS_MASK, _ pSid As Long) As Boolean !!!!User-Defined Types: [ACCESS_MASK] !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: AddAccessAllowedAce@msdn on MSDN
Edit advapi32.AddAcces...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.