CertificateTemplateSettingsGetPathLengthConstraint Method
Gets path length restriction for the certificates issued by this template.
For end-entity (non-CA) certificate, a zero is always returned. If the CA certificate
cannot issue certificates to other CAs, the method returns zero. If there is no path length
restrictions, a -1 is returned.
Namespace: PKI.CertificateTemplatesAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public int GetPathLengthConstraint()
Public Function GetPathLengthConstraint As Integer
public:
int GetPathLengthConstraint()
member GetPathLengthConstraint : unit -> int
Return Value
Int32
A value that indicates how many additional CAs under this certificate may appear in the certificate chain.