In Configuration Manager, the CreateIdentity method creates a PXE certificate identity that is used in the client configuration file. This method is used to create a new self-signed certificate.
HRESULT CreateIdentity( BSTR FriendlyName, BSTR SubjectName, BSTR SMSID, VARIANT* StartTime, VARIANT* EndTime, VARIANT* Identity ); |
Parameters
- FriendlyName
- Data type: BSTRQualifiers: [in]Friendly name of the certificate identity.
- SubjectName
- Data type: BSTRQualifiers: [in]Name of the certificate subject.
- SMSID
- Data type: BSTRQualifiers: [in]The GUID used to identify the certificate. This is the value of the SMSID property in SMS_CertificateInfo Server WMI Class.
- StartTime
- Data type: VARIANTQualifiers: [in]Time when the certificate becomes valid.
- EndTime
- Data type: VARIANTQualifiers: [in]Time when the validity of the certificate ends.
- Identity
- Data type: VARIANTQualifiers: [out, retval]PXE certificate identity. Can be used with SubmitRegistrationRecord Method in Class SMS_Site.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following value.
- S_OK
- The method succeeded.
Remarks
See Also
How to Create and Serialize a New
Self-Signed Certificate
About Operating System Deployment Site Role Configuration
Concepts
IPxeAuthClass InterfaceAbout Operating System Deployment Site Role Configuration