Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains a user name and password.
Syntax
typedef struct _COAUTHIDENTITY {
USHORT *User;
ULONG UserLength;
USHORT *Domain;
ULONG DomainLength;
USHORT *Password;
ULONG PasswordLength;
ULONG Flags;
} COAUTHIDENTITY;
Members
User
The user's name.
UserLength
The length of the User string, without the terminating NULL.
Domain
The ___domain or workgroup name.
DomainLength
The length of the Domain string, without the terminating NULL.
Password
The user's password in the ___domain or workgroup.
PasswordLength
The length of the Password string, without the terminating NULL.
Flags
Indicates whether the strings are Unicode strings.
Value | Meaning |
---|---|
|
The strings are ANSI strings. |
|
The strings are Unicode strings. |
Remarks
COM does not persist the user's password information. For applications that use passwords, please see the documentation on Cryptography (CryptoAPI).
This structure is equivalent to the SEC_WINNT_AUTH_IDENTITY structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | wtypesbase.h (include WTypes.h) |