SpSaveCredentialsFn callback function (ntsecpkg.h)
Saves a supplemental credential to the user object.
Syntax
SpSaveCredentialsFn Spsavecredentialsfn;
NTSTATUS Spsavecredentialsfn(
[in] LSA_SEC_HANDLE CredentialHandle,
[in] PSecBuffer Credentials
)
{...}
Parameters
[in] CredentialHandle
A handle to the credential to save.
[in] Credentials
Pointer to a SecBuffer structure containing the credential information to be saved.
Return value
If the function succeeds, return STATUS_SUCCESS.
If the function fails, return an NTSTATUS code that indicates the reason it failed.
Remarks
SSP/APs must implement the SpSaveCredentials function; however, the actual name given to the implementation is up to the developer.
A pointer to the SpSaveCredentials function is available in the SECPKG_FUNCTION_TABLE structure received from the SpLsaModeInitialize function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | ntsecpkg.h |