IScheduler::EnrollCertificate method
Enrolls the user in a certificate based on the supplied template.
Syntax
HRESULT EnrollCertificate(
[in] BSTR *templateName,
[out] unsigned char *certBytes
);
Parameters
templateName [in]
The template name. If the scheduler specifies an hpcsoftcard template, this parameter is ignored.certBytes [out]
The certificate thumbprint.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.
Requirements
Product |
This method was introduced in Windows HPC Server 2008 R2 Service Pack 2 (SP2) and is not supported in previous versions. |
Type library |
Microsoft.Hpc.Scheduler.tlb |