Skip to content

Latest commit

 

History

History
125 lines (97 loc) · 3 KB

ns-wtypesbase-coauthidentity.md

File metadata and controls

125 lines (97 loc) · 3 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wtypesbase._COAUTHIDENTITY
COAUTHIDENTITY (wtypesbase.h)
Contains a user name and password.
COAUTHIDENTITY
COAUTHIDENTITY structure [COM]
SEC_WINNT_AUTH_IDENTITY_ANSI
SEC_WINNT_AUTH_IDENTITY_UNICODE
_COAUTHIDENTITY
_com_COAUTHIDENTITY
com.coauthidentity
wtypesbase/COAUTHIDENTITY
com\coauthidentity.htm
com
ce14f8a6-0495-491a-a5c7-de7c1d3efd95
12/05/2018
COAUTHIDENTITY, COAUTHIDENTITY structure [COM], SEC_WINNT_AUTH_IDENTITY_ANSI, SEC_WINNT_AUTH_IDENTITY_UNICODE, _COAUTHIDENTITY, _com_COAUTHIDENTITY, com.coauthidentity, wtypesbase/COAUTHIDENTITY
wtypesbase.h
WTypes.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Windows
COAUTHIDENTITY
19H1
_COAUTHIDENTITY
wtypesbase/_COAUTHIDENTITY
COAUTHIDENTITY
wtypesbase/COAUTHIDENTITY
c++
APIRef
kbSyntax
HeaderDef
wtypesbase.h
COAUTHIDENTITY

COAUTHIDENTITY structure

-description

Contains a user name and password.

-struct-fields

-field User

The user's name.

-field UserLength

The length of the User string, without the terminating NULL.

-field Domain

The domain or workgroup name.

-field DomainLength

The length of the Domain string, without the terminating NULL.

-field Password

The user's password in the domain or workgroup.

-field PasswordLength

The length of the Password string, without the terminating NULL.

-field Flags

Indicates whether the strings are Unicode strings.

Value Meaning
SEC_WINNT_AUTH_IDENTITY_ANSI
0x1
The strings are ANSI strings.
SEC_WINNT_AUTH_IDENTITY_UNICODE
0x2
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.

-see-also

COAUTHINFO