Location: Symbol Reference > Classes > TJwServerAccessControl Class > TJwServerAccessControl Methods > TJwServerAccessControl.JwRevokeAccessRights Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwServerAccessControl.JwRevokeAccessRights Method
Pascal
procedure JwRevokeAccessRights(const AProperty: TJwString; const SecurityIDList: TJwSecurityIdList); virtual;
Parameters 
Description 
const AProperty: TJwString 
Currently not used. Must be empty. 
const SecurityIDList: TJwSecurityIdList 
An instance of TJwSecurityIdList containing a list of SIDs to be removed from the security descriptor DACL. 

JwRevokeAccessRights removes all given access entries from the DACL.

All supplied SIDs are removed from the DACL. If a single SID is used several times in the DACL all occurences are removed. 

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!