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.Win (in SysadminsLV.PKI.Win.dll) Version: (
public bool SetInfo()

Return Value

True if configuration was changed. If an object was not modified since it was instantiated, configuration is not updated and the method returns False.


For this method to succeed, the caller must be granted CA Administrator permissions.


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.

See Also