Partager via


SEC_WINNT_AUTH_IDENTITY (Compact 2013)

3/28/2014

This structure is used to establish the identity of the client and is authentication-service specific.

Syntax

typedef struct _SEC_WINNT_AUTH_IDENTITY {
  unsigned short _RPC_FAR* User;
  unsigned long UserLength;
  unsigned short _RPC_FAR* Domain;
  unsigned long DomainLength;
  unsigned long _RPC_FAR* Password;
  unsigned long PasswordLength;
  unsigned long Flags;
} SEC_WINNT_AUTH_IDENTITY, *PSEC_WINNT_AUTH_IDENTITY;

Members

  • User
    String containing the user name.
  • UserLength
    Length of the usersting in characters, not including the terminating null.
  • Domain
    String containing the domain name or the workgroup name.
  • DomainLength
    Length of the domain string in characters, not including the terminating null.
  • Password
    String containing the user's password in the domain or workgroup.
  • PasswordLength
    Length of the password string in characters, not including the terminating null.
  • Flags
    The following table shows the values that are valid flags for this member.

    Value

    Description

    SEC_WINNT_AUTH_IDENTITY_ANSI

    The strings in this structure are in ANSI format.

    SEC_WINNT_AUTH_IDENTITY_UNICODE

    The strings in this structure are in Unicode format.

Remarks

This structure must remain valid for the lifetime of the binding handle.

Requirements

Header

rpcdce.h

See Also

Reference

Authentication Services Structures
Authentication Services Functions
NTLM Security Support Provider