Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |