[DllImport("Credui.dll", SetLastError = true)] public static extern CREDUI_RETURN CredUIParseUserName( string pszUserName, StringBuilder pszUser, uint ulUserMaxChars, StringBuilder pszDomain, uint ulDomainMaxChars );
Microsoft documentation: Link
Last updated 1 year ago