IPxeAuthClass::CreateIdentity Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
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
Concepts
IPxeAuthClass Interface
About Operating System Deployment Site Role Configuration
How to Create and Serialize a New Self-Signed Certificate