SEC_WINNT_AUTH_IDENTITY (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Authentication Services Structures
Authentication Services Functions

Concepts

NTLM Security Support Provider