COAUTHIDENTITY
The COAUTHIDENTITY structure represents a user name and password. A pointer to a COAUTHIDENTITY structure is a member of the COAUTHINFO structure, which specifies authentication settings for remote activation requests.
typedef struct _COAUTHIDENTITY
{
USHORT *User;
ULONG UserLength;
USHORT *Domain;
ULONG DomainLength;
USHORT *Password;
ULONG PasswordLength;
ULONG Flags;
} COAUTHIDENTITY;
Members
-
User
-
String containing the user's name.
-
UserLength
-
Length of the User string, without the terminating NULL.
-
Domain
-
String containing the domain or workgroup name.
-
DomainLength
-
Length of the Domain string, without the terminating NULL.
-
Password
-
String containing the user's password in the domain or workgroup.
-
PasswordLength
-
Length of the Password string, without the terminating NULL.
-
Flags
-
Value indicating that the strings are ANSI (0x1) or Unicode(0x2). This value can be SEC_WINNT_AUTH_IDENTITY_ANSI or SEC_WINNT_AUTH_IDENTITY_UNICODE.
QuickInfo
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wtypes.h.
See Also
COAUTHINFO, COSERVERINFO