Discuss this help topic in SecureBlackbox Forum

TElWebDAVACLOptions.OnGetACL

TElWebDAVACLOptions     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when ACL is requested for some resource.

Declaration

[C#]
    event TSBWebDAVGetACLEvent OnGetACL;
    delegate void TSBWebDAVGetACLEvent(Object Sender, string URL, TElWebDAVPrincipal Principal, ArrayList List, ref bool OwnList);

[VB.NET]
    Event OnGetACL As TSBWebDAVGetACLEvent
    Delegate Sub TSBWebDAVGetACLEvent(ByVal Sender As Object, ByVal URL As String, ByVal Principal As TElWebDAVPrincipal, ByVal List As ArrayList, ByRef OwnList As Boolean)

[Pascal]
    property OnGetACL : TSBWebDAVGetACLEvent;
    TSBWebDAVGetACLEvent = procedure(Sender : TObject; const URL : string; Principal : TElWebDAVPrincipal; List : TElList; var OwnList : boolean) of object; // list of TElWebDAVACE

[C++]
    void get_OnGetACL(TSBWebDAVGetACLEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetACL(TSBWebDAVGetACLEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVGetACLEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, SBWebDAVServer_TElWebDAVPrincipalHandle Principal, TListHandle List, int8_t &OwnList);

[PHP]
    TSBWebDAVGetACLEvent|callable|NULL get_OnGetACL()
    void set_OnGetACL(TSBWebDAVGetACLEvent|callable|NULL $Value)
    callable TSBWebDAVGetACLEvent(TObject $Sender, string $URL, SBWebDAVServer_TElWebDAVPrincipal $Principal, TList $List, bool &$OwnList)

[Java]
    TSBWebDAVGetACLEvent getOnGetACL();
    void setOnGetACL(TSBWebDAVGetACLEvent Value);
    TSBWebDAVGetACLEvent.Callback OnGetACL = new TSBWebDAVGetACLEvent.Callback() {
        public void TSBWebDAVGetACLEventCallback(TObject Sender, String URL, TElWebDAVPrincipal Principal, ArrayList List, TSBBoolean OwnList) {
            //...
        }
    }

Parameters

  • Principal - the principal for which the ACL is requested.
  • List - the list of TElWebDAVACE objects should be returned via this parameter.
  • OwnList - set this property to false if the component should free the allocated resources; otherwise it is a responsibility of the user application to dispose of the List object.
  • URL - URL of the resource for which the ACL is requested.
  • pcURL - URL of the resource for which the ACL is requested.
  • szURL - the length of szURL in bytes.

Description

    This event is fired when ACL is requested for some resource. The handler should provide the list of Acess Control Elements (ACEs) via the corresponding parameter.

See also:     OnSetACL    

Discuss this help topic in SecureBlackbox Forum