Compartilhar via


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: BSTR

    Qualifiers: [in]

    Friendly name of the certificate identity.

  • SubjectName
    Data type: BSTR

    Qualifiers: [in]

    Name of the certificate subject.

  • StartTime
    Data type: VARIANT

    Qualifiers: [in]

    Time when the certificate becomes valid.

  • EndTime
    Data type: VARIANT

    Qualifiers: [in]

    Time when the validity of the certificate ends.

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