Click or drag to resize

WindowsApiLsaAddAccountRights Method

Win32 LsaAddAccountRights function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static uint LsaAddAccountRights(
	IntPtr PolicyHandle,
	IntPtr AccountSid,
	WindowsApiLSA_UNICODE_STRING[] UserRights,
	uint CountOfRights
)
View Source

Parameters

PolicyHandle  IntPtr
 
AccountSid  IntPtr
 
UserRights  WindowsApiLSA_UNICODE_STRING
 
CountOfRights  UInt32
 

Return Value

UInt32
See Also