SspiUnmarshalAuthIdentity function (sspi.h)

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

Syntax

SECURITY_STATUS SEC_ENTRY SspiUnmarshalAuthIdentity(
  [in]  unsigned long                   AuthIdentityLength,
  [in]  char                            *AuthIdentityByteArray,
  [out] PSEC_WINNT_AUTH_IDENTITY_OPAQUE *ppAuthIdentity
);

Parameters

[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.

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