SspiValidateAuthIdentity function (sspi.h)

Indicates whether the specified identity structure is valid.

Syntax

SECURITY_STATUS SEC_ENTRY SspiValidateAuthIdentity(
  [in] PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthData
);

Parameters

[in] AuthData

The identity structure to test.

Return value

If the function succeeds, it returns SEC_E_OK, which indicates that the identity structure specified by the AuthData parameter is valid.

If the function fails, it returns a nonzero error code that indicates that the identity structure specified by the AuthData parameter is not valid.

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