public static extern NtStatus LsaLogonUser(
     [In] IntPtr LsaHandle,
     [In] ref AnsiString OriginName,
     [In] SecurityLogonType LogonType,
     [In] int AuthenticationPackage,
     [In] IntPtr AuthenticationInformation,
     [In] int AuthenticationInformationLength,
     [In][Optional] IntPtr LocalGroups,  // TokenGroups*
     [In] ref TokenSource SourceContext,
     [Out] out IntPtr ProfileBuffer,
     [Out] out int ProfileBufferLength,
     [Out] out Luid LogonId,
     [Out] out IntPtr Token,
     [Out] out QuotaLimits Quotas,
     [Out] out NtStatus SubStatus
     );
 public static extern NtStatus LsaSetQuotasForAccount(
     [In] IntPtr AccountHandle,
     [In] ref QuotaLimits QuotaLimits
     );
 public static extern NtStatus LsaGetQuotasForAccount(
     [In] IntPtr AccountHandle,
     [Out] out QuotaLimits QuotaLimits
     );