SpDeleteCredentials function
Deletes credentials from a security package's list of primary or supplemental credentials.
Syntax
NTSTATUS SpDeleteCredentials( _In_ LSA_SEC_HANDLE CredentialHandle, _In_ PSecBuffer Key );
Parameters
- CredentialHandle [in]
-
A handle to the credentials to delete.
- Key [in]
-
Pointer to a SecBuffer structure whose contents indicate which credentials to delete. The information stored in the Key parameter is package specific.
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 SpDeleteCredentials function; however, the actual name given to the implementation is up to the developer.
A pointer to the SpDeleteCredentials function is available in the SECPKG_FUNCTION_TABLE structure received from the SpLsaModeInitialize function.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also