SECPKG_CRED_CLASS enumeration (sspi.h)

Indicates the type of credential used in a client context. The SECPKG_CRED_CLASS enumeration is used in the SecPkgContext_CredInfo structure.

Syntax

typedef enum _SECPKG_CRED_CLASS {
  SecPkgCredClass_None = 0,
  SecPkgCredClass_Ephemeral = 10,
  SecPkgCredClass_PersistedGeneric = 20,
  SecPkgCredClass_PersistedSpecific = 30,
  SecPkgCredClass_Explicit
} SECPKG_CRED_CLASS, *PSECPKG_CRED_CLASS;

Constants

 
SecPkgCredClass_None
Value: 0
No credentials are supplied.
SecPkgCredClass_Ephemeral
Value: 10
Indicates the credentials used to log on to the system.
SecPkgCredClass_PersistedGeneric
Value: 20
Indicates saved credentials that are not target specific.
SecPkgCredClass_PersistedSpecific
Value: 30
Indicates saved credentials that are target specific.
SecPkgCredClass_Explicit
Value: =
Indicates credentials explicitly supplied by the user.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header sspi.h