3.2.4.8.9 TaskRunAsSelf (Get) (Opnum 40)
The TaskRunAsSelf (Get) method retrieves the TaskRunAsSelf property, as specified in the property table in section 3.2.4.8.
-
[propget] HRESULT TaskRunAsSelf( [out, retval] VARIANT_BOOL* RunAsSelf );
RunAsSelf: Receives a Boolean indicating whether or not TaskRunAsSelf is enabled.
Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.