Platform SDK: Smart Card Enrollment Control |
The setCertTemplateName method specifies the name of the certificate template.
objSCEnroll.setCertTemplateName( _ dwFlags As Long, _ bstrCertTemplateName As String )
This method has no return values.
If you do not set the certificate template name by calling ISCrdEnr::setCertTemplateName, the name defaults to the first name in the list of available certificate templates.
' Set the cert template name. ' strCTName was determined through an enumeration of the ' certificate templates (by means of enumCertTemplateName). Senroll.setCertTemplateName 0, strCTName
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Library: Included as a resource in Scrdenrl.dll.