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.
Serializes the specified identity structure into a byte array.
Syntax
SECURITY_STATUS SEC_ENTRY SspiMarshalAuthIdentity(
[in] PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthIdentity,
[out] unsigned long *AuthIdentityLength,
[out] char **AuthIdentityByteArray
);
Parameters
[in] AuthIdentity
The identity structure to serialize.
[out] AuthIdentityLength
The length, in bytes, of the AuthIdentityByteArray array.
[out] AuthIdentityByteArray
A pointer to an array of byte values that represents the identity specified by the AuthIdentity parameter.
Return value
If the function succeeds, it returns SEC_E_OK.
If the function fails, it returns a nonzero error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | sspi.h |
Library | Secur32.lib |
DLL | SspiCli.dll |