Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also