|
JWSCL Documentation
|
procedure JwSetOwner(const Owner: TJwSecurityID; const Group: TJwSecurityID); virtual;
|
Parameters |
Description |
|
const Owner: TJwSecurityID |
Receives an instance of TJwSecurityID to be used to replace the security descriptor owner. If this value is nil the owner of the security descriptor is not replaced. |
|
const Group: TJwSecurityID |
Receives an instance of TJwSecurityID to be used to replace the security descriptor group. If this value is nil the group of the security descriptor is not replaced. |
Replaces the owner and/or group of the security descriptor.
The function is called by the interface method with the same name. Since the interface method returns a HRESULT value this version must raise an EOleSysError and supply the return value to EOleSysError constructor (ErrorCode). Use
raise EOleSysError.Create('text message', MAKE_HRESULT(1, FacilityCode, Win32_or_User_Code));
This method implements the JWSCL version of the COM method with the same name.
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|