Click or drag to resize

WindowsApiLookupAccountName Method

Win32 LookupAccountName function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
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