Click or drag to resize

WindowsApiLookupAccountName Method

Win32 LookupAccountName function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
[DllImportAttribute("advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static bool LookupAccountName(
	string lpSystemName,
	string lpAccountName,
	IntPtr psid,
	ref int cbsid,
	StringBuilder domainName,
	ref int cbdomainLength,
	ref int use
)
View Source

Parameters

lpSystemName  String
 
lpAccountName  String
 
psid  IntPtr
 
cbsid  Int32
 
domainName  StringBuilder
 
cbdomainLength  Int32
 
use  Int32
 

Return Value

Boolean
See Also