예제 #1
0
 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
     );
예제 #2
0
 public static extern NtStatus LsaSetQuotasForAccount(
     [In] IntPtr AccountHandle,
     [In] ref QuotaLimits QuotaLimits
     );
예제 #3
0
 public static extern NtStatus LsaGetQuotasForAccount(
     [In] IntPtr AccountHandle,
     [Out] out QuotaLimits QuotaLimits
     );