Export (0) Print
Expand All
Expand Minimize

SspiMarshalAuthIdentity function

Serializes the specified identity structure into a byte array.

Syntax


SECURITY_STATUS SspiMarshalAuthIdentity(
  _In_   PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthIdentity,
  _Out_  unsigned long *AuthIdentityLength,
  _Out_  unsigned long *AuthIdentityByteArray
);

Parameters

AuthIdentity [in]

The identity structure to serialize.

AuthIdentityLength [out]

The length, in bytes, of the AuthIdentityByteArray array.

AuthIdentityByteArray [out]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Sspi.h

Library

Secur32.lib

DLL

SspiCli.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft