Ejemplo n.º 1
0
 static extern NtStatus LsaLogonUser(SafeLsaHandle LsaHandle, LsaString OriginName, SecurityLogonType LogonType, uint AuthenticationPackage,
                                     SafeBuffer AuthenticationInformation,
                                     int AuthenticationInformationLength,
                                     IntPtr LocalGroups,
                                     TOKEN_SOURCE SourceContext,
                                     out IntPtr ProfileBuffer,
                                     out int ProfileBufferLength,
                                     out Luid LogonId,
                                     out SafeKernelObjectHandle Token,
                                     out QUOTA_LIMITS Quotas,
                                     out NtStatus SubStatus
                                     );
 static extern NtStatus LsaLogonUser(SafeLsaHandle LsaHandle, LsaString OriginName, SecurityLogonType LogonType, uint AuthenticationPackage,
     SafeBuffer AuthenticationInformation,
     int AuthenticationInformationLength,
     IntPtr LocalGroups,
     TOKEN_SOURCE SourceContext,
     out IntPtr ProfileBuffer,
     out int ProfileBufferLength,
     out Luid LogonId,
     out SafeKernelObjectHandle Token,
     out QUOTA_LIMITS Quotas,
     out NtStatus SubStatus
 );