Location: Symbol Reference > Classes > TJwServerAccessControl Class > TJwServerAccessControl Methods > TJwServerAccessControl.JwSetAccessRights Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwServerAccessControl.JwSetAccessRights Method
Pascal
procedure JwSetAccessRights(const AccessList: TJwDAccessControlList); virtual;
Parameters 
Description 
const AccessList: TJwDAccessControlList 
Receives an access list to replace the one of the security descriptor. This value can be nil to allow everybody full control. 

Replaces the DACL of the security descriptor with the given access list.

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!