Click or drag to resize

WindowsApiLookupAccountName Method

Win32 LookupAccountName function.

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