|
WindowsApiLsaAddAccountRights Method
|
Win32 LsaAddAccountRights function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntax[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static uint LsaAddAccountRights(
IntPtr PolicyHandle,
IntPtr AccountSid,
WindowsApiLSA_UNICODE_STRING[] UserRights,
uint CountOfRights
)
<DllImportAttribute("advapi32.dll", SetLastError := true>]
Public Shared Function LsaAddAccountRights (
PolicyHandle As IntPtr,
AccountSid As IntPtr,
UserRights As WindowsApiLSA_UNICODE_STRING(),
CountOfRights As UInteger
) As UInteger
public:
[DllImportAttribute(L"advapi32.dll", SetLastError = true)]
static unsigned int LsaAddAccountRights(
IntPtr PolicyHandle,
IntPtr AccountSid,
array<WindowsApiLSA_UNICODE_STRING>^ UserRights,
unsigned int CountOfRights
)
[<DllImportAttribute("advapi32.dll", SetLastError = true)>]
static member LsaAddAccountRights :
PolicyHandle : IntPtr *
AccountSid : IntPtr *
UserRights : WindowsApiLSA_UNICODE_STRING[] *
CountOfRights : uint32 -> uint32
GSF.Interop.WindowsApi.LsaAddAccountRights = function(PolicyHandle, AccountSid, UserRights, CountOfRights);
View SourceParameters
- PolicyHandle IntPtr
-
- AccountSid IntPtr
-
- UserRights WindowsApiLSA_UNICODE_STRING
-
- CountOfRights UInt32
-
Return Value
UInt32
See Also