SspiCopyAuthIdentity function

Creates a copy of the specified opaque credential structure.

Syntax


SECURITY_STATUS SspiCopyAuthIdentity(
  _In_  PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthData,
  _Out_ PSEC_WINNT_AUTH_IDENTITY_OPAQUE *AuthDataCopy
);

Parameters

AuthData [in]

The credential structure to be copied.

AuthDataCopy [out]

The structure that receives the copy of the structure specified by the AuthData 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

 

 

Show: