Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IAlternativeName::get_ObjectId method (certenroll.h)
The ObjectId property retrieves the object identifier (OID), if any, associated with the name.
This property is read-only.
Syntax
HRESULT get_ObjectId(
IObjectId **ppValue
);
Parameters
ppValue
Return value
None
Remarks
You can retrieve a value for this property if you initialized the IAlternativeName object in any of the following ways:
- Call InitializeFromOtherName and supply an OID.
- Call InitializeFromRawData and specify the XCN_CERT_ALT_NAME_GUID type.
- Call InitializeFromString and specify the XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME type.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | certenroll.h |
| DLL | CertEnroll.dll |
See also
Feedback
Was this page helpful?
