This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[FlagsAttribute]
public enum CertificateTemplateNameFlags
<FlagsAttribute>
Public Enumeration CertificateTemplateNameFlags
[FlagsAttribute]
public enum class CertificateTemplateNameFlags
[<FlagsAttribute>]
type CertificateTemplateNameFlags
EnrolleeSuppliesSubject | 1 | This flag instructs the client to supply subject information in the certificate request. |
OldCertSuppliesSubjectAndAltName | 8 |
This flag instructs the client to reuse values of subject name and alternative subject name extensions from an existing valid
certificate when creating a certificate renewal request.
Windows Server 2003, Windows Server 2008 - this flag is not supported. |
EnrolleeSuppluiesAltSubject | 65,536 | This flag instructs the client to supply subject alternate name information in the certificate request. |
AltSubjectRequireDomainDNS | 4,194,304 | This flag instructs the CA to add the value of the requester FQDN and NetBIOS name to the Subject Alternative Name extension of the issued certificate. |
AltSubjectRequireSPN | 8,388,608 | This flag instructs the CA to add the value of the requester Service Principal name to the Subject Alternative Name extension of the issued certificate. |
AltSubjectRequireDirectoryGUID | 16,777,216 | This flag instructs the CA to add the value of the objectGUID attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate. |
AltSubjectRequireUPN | 33,554,432 | This flag instructs the CA to add the value of the UPN attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate. |
AltSubjectRequireEmail | 67,108,864 | This flag instructs the CA to add the value of the e-mail attribute from the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate. |
AltSubjectRequireDNS | 134,217,728 | This flag instructs the CA to add the value obtained from the DNS attribute of the requester user object in Active Directory to the Subject Alternative Name extension of the issued certificate. |
SubjectRequireDNSasCN | 268,435,456 | This flag instructs the CA to add the value obtained from the DNS attribute of the requester user object in Active Directory as the CN in the subject of the issued certificate. |
SubjectRequireEmail | 536,870,912 | This flag instructs the CA to add the value of the e-mail attribute from the requester user object in Active Directory as the subject of the issued certificate. |
SubjectRequireCommonName | 1,073,741,824 | This flag instructs the CA to set the subject name to the requester CN from Active Directory. |
SubjectRequireDirectoryPath | -2,147,483,648 | This flag instructs the CA to set the subject name to the requester distinguished name (DN) from Active Directory. |