|
JWSCL Documentation
|
function GetAllAccessRights(lpProperty: LPWSTR; var ppAccessList: PACTRL_ACCESSW_ALLOCATE_ALL_NODES; var ppOwner: PTRUSTEEW; var ppGroup: PTRUSTEEW): HRESULT; stdcall;
|
Parameters |
Description |
|
lpProperty: LPWSTR |
This parameter is currently not used and must be an empty string. |
|
var ppAccessList: PACTRL_ACCESSW_ALLOCATE_ALL_NODES |
Receives a pointer to an access list receiving all the rights granted by this security descriptor.This memory must be freed by a single call to CoTaskMemFree. |
|
var ppOwner: PTRUSTEEW |
Receives a pointer to a SID defining the owner of the resource. In the original implementation of IAccesscontrol the resulted value can be nil. The memory must be freed by CoTaskMemFree. |
|
var ppGroup: PTRUSTEEW |
Receives a pointer to a SID defining the group of the resource. In the original implementation of IAccesscontrol the resulted value can be nil. The memory must be freed by CoTaskMemFree. |
This method can return several, among others, these error codes:
|
Value |
Description |
|
S_OK |
Successfully completed. Parameter cbSize contains the size. |
|
E_UNEXPECTED |
An exception occured that is not an EOleSysError exception. |
|
others |
There can be other errors coming from a EOleSysError. The value is the same as the value of the member ErrorCode of EOleSysError. |
This method behaves differently in a debug or release build. In a debug build an exception is returned to the caller. This can be useful in a debugging session.
Returns all access rights, owner and group of the object.
This method implements TJwServerAccessControl.GetAllAccessRights of IAccessControl.
This method is affected by property StrictACLVerify when set to True. On the other hand if StrictACLVerify is false the function can produce incompatible results to IAccessControl.
If SD.DACL is nil the result is incompatible with MS IAccessControl.implementation.
PACTRL_ACCESSW_ALLOCATE_ALL_NODES is a ACTRL_ACCESS structure which looks the following:
JWSCL implements this method as JwGrantAllAccessRights.
|
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!
|