Export (0) Print
Expand All
Expand Minimize

SpSaveCredentials function

Saves a supplemental credential to the user object.

Syntax


NTSTATUS SpSaveCredentials(
  _In_  LSA_SEC_HANDLE CredentialHandle,
  _In_  PSecBuffer Credentials
);

Parameters

CredentialHandle [in]

A handle to the credential to save.

Credentials [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SECPKG_FUNCTION_TABLE
SpLsaModeInitialize
SpMarshallSupplementalCreds

 

 

Community Additions

ADD
Show:
© 2014 Microsoft