Click or drag to resize

CATemplateSetInfo Method

Updates certificate template list issued by a Certification Authority. The method writes all certificates templates contained in Templates property.

Namespace:  PKI.CertificateServices
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public bool SetInfo()

Return Value

Type: Boolean
True if configuration was changed. If an object was not modified since it was instantiated, configuration is not updated and the method returns False.
Exceptions
ExceptionCondition
UnauthorizedAccessException The caller do not have sufficient permissions to make changes in the CA configuration.
ServerUnavailableException The target CA server could not be contacted via RPC/DCOM transport.
NotSupportedExceptionOne or more certificate templates are not supported by this CA version.
Remarks
For this method to succeed, the caller must be granted CA Administrator permissions.
Remarks
The caller must have Administrator permissions on the target CA server.
See Also