SspiUnmarshalAuthIdentity function (sspi.h)

Deserializes the specified array of byte values into an identity structure.


SECURITY_STATUS SEC_ENTRY SspiUnmarshalAuthIdentity(
  [in]  unsigned long                   AuthIdentityLength,
  [in]  char                            *AuthIdentityByteArray,


[in] AuthIdentityLength

The size, in bytes, of the AuthIdentityByteArray array.

[in] AuthIdentityByteArray

The array of byte values to deserialize.

[out] ppAuthIdentity

The deserialized identity structure.

Return value

If the function succeeds, it returns SEC_E_OK.

If the function fails, it returns a nonzero error code.


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