Click or drag to resize

WindowsApiLookupAccountName Method

Win32 LookupAccountName function.

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