SEC_WINNT_AUTH_IDENTITY (Structures)
Last changed: anonymous

.
Summary
This is used for calling the AcquireCredentials function. This is typically used for NTLM/Kerberos Authentication. This structure contains the credentials (user name, password, and domain name).

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct SEC_WINNT_AUTH_IDENTITY
{
      [MarshalAs(UnmanagedType.LPWStr)]
      public string User;
      public int UserLength;
      [MarshalAs(UnmanagedType.LPWStr)]
      public string Domain;
      public int DomainLength;
      [MarshalAs(UnmanagedType.LPWStr)]
      public string Password;
      public int PasswordLength;
      public int Flags;
};

Notes:

None.

Documentation