const readonly int CRED_TYPE_GENERIC = 1;
const readonly int CRED_TYPE_DOMAIN_PASSWORD = 2;
const readonly int CRED_TYPE_DOMAIN_CERTIFICATE = 3;
const readonly int CRED_TYPE_DOMAIN_VISIBLE_PASSWORD = 4;
const readonly int CRED_TYPE_MAXIMUM = 5; // Maximum supported cred type
Public Enum CRED_TYPE
GENERIC = 1
DOMAIN_PASSWORD
DOMAIN_CERTIFICATE
DOMAIN_VISIBLE_PASSWORD
MAXIMUM
End Enum