|
WindowsApiLsaAddAccountRights Method
|
Win32 LsaAddAccountRights function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
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