ISecurityProperty::GetOriginalCreatorSID method (comsvcs.h)
In MTS 2.0, this method retrieves the security identifier of the base process that initiated the activity in which the current object is executing. Do not use this method in COM+.
Syntax
HRESULT GetOriginalCreatorSID(
[out] PSID *pSID
);
Parameters
[out] pSID
A reference to the security ID of the base process that initiated the activity in which the current object is executing.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The security ID of the original created is returned in the parameter pSid. |
|
The current object does not have a context associated with it because either the component was not imported into an application or the object was not created with one of the COM+ CreateInstance methods. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |