Expand Minimize

SspiExcludePackage function

Creates a new identity structure that is a copy of the specified identity structure modified to exclude the specified security support provider (SSP).

Syntax


SECURITY_STATUS SspiExcludePackage(
  _In_   PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthIdentity,
  _In_   PCWSTR pszPackageName,
  _Out_  PSEC_WINNT_AUTH_IDENTITY_OPAQUE *ppNewAuthIdentity
);

Parameters

AuthIdentity [in]

The identity structure to modify.

pszPackageName [in]

The SSP to exclude.

ppNewAuthIdentity [out]

The modified identity structure.

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