TJwIsAccessAllowed = procedure (const Sender : TJwServerAccessControl; const DesiredAccess : DWORD; const TrusteeName : TJwString; const TrusteeSID : TJwSecurityId; const AProperty : TJwString; const Trustee : PTrusteeW; var AccessGranted : Boolean; var ErrorCode : HRESULT) of object;
|
Parameters |
Description |
|
Sender |
This parameter defines which instance of TJwServerAccessControl is calling the method. |
|
DesiredAccess |
Defines the access requested by the caller of the AccessCheck function. |
|
TrusteeName |
Defines the name trustee who is used to make the request. |
|
TrusteeSID |
Defines the trustee as a TJwSecurityID class who is used to make the request. |
|
AProperty |
Defines a property supplied to the TJwServerAccessControl.JwIsAccessAllowed. |
|
Trustee |
Not used. Always nil. |
|
AccessGranted |
Receives the previous result of the access check. Set to true to grant access; otherwise access will be denied. |
|
ErrorCode |
Defines an error code that is returned to any caller. Actually an error code of < 0 will raise an EOleSysError exception with a generic message. You can raise your own EOleSysError exception to return any HRESULT value to a COM caller. In this way you can see your custom made error message (good for debugging). However, if you use other exception classes COM callers will receive the HRESULT error E_UNEXPECTED. |
This method is a callback method used by property TJwServerAccessControl.OnIsAccessAllowed
|
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!
|