Type enum

The type of the credential. This member cannot be changed after the credential is created. The following values are valid.

I | Value | Meaning

0 | CRED_TYPE_GENERIC | The credential is a generic credential. The credential will not be used by any particular authentication package. The credential will be stored securely but has no other significant characteristics. 1 | CRED_TYPE_DOMAIN_PASSWORD | The credential is a password credential and is specific to Microsoft's authentication packages. The NTLM, Kerberos, and Negotiate authentication packages will automatically use this credential when connecting to the named target. 2 | CRED_TYPE_DOMAIN_CERTIFICATE | The credential is a certificate credential and is specific to Microsoft's authentication packages. The Kerberos, Negotiate, and Schannel authentication packages automatically use this credential when connecting to the named target. 3 | CRED_TYPE_DOMAIN_VISIBLE_PASSWORD | This value is no longer supported. Windows Server 2003 and Windows XP: The credential is a password credential and is specific to authentication packages from Microsoft. The Passport authentication package will automatically use this credential when connecting to the named target. Additional values will be defined in the future. Applications should be written to allow for credential types they do not understand. 4 | CRED_TYPE_GENERIC_CERTIFICATE | The credential is a certificate credential that is a generic authentication package. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. 5 | CRED_TYPE_DOMAIN_EXTENDED | The credential is supported by extended Negotiate packages. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. 6 | CRED_TYPE_MAXIMUM | The maximum number of supported credential types. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. 7 | CRED_TYPE_MAXIMUM_EX | The extended maximum number of supported credential types that now allow new applications to run on older operating systems. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported.

Inheritance

Constructors

Type()
const

Values

CRED_TYPE_GENERIC → const Type
CRED_TYPE_DOMAIN_PASSWORD → const Type
CRED_TYPE_DOMAIN_CERTIFICATE → const Type
CRED_TYPE_DOMAIN_VISIBLE_PASSWORD → const Type
CRED_TYPE_GENERIC_CERTIFICATE → const Type
CRED_TYPE_DOMAIN_EXTENDED → const Type
CRED_TYPE_MAXIMUM → const Type
CRED_TYPE_MAXIMUM_EX → const Type

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<Type>
A constant List of the values in this enum, in order of their declaration.