Discuss this help topic in SecureBlackbox Forum

TElWebDAVACLOptions.OnSetACL

TElWebDAVACLOptions     See also     


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


This event is fired when a request to modify ACL is received.

Declaration

[C#]
    event TSBWebDAVSetACLEvent OnSetACL;
    delegate void TSBWebDAVSetACLEvent(Object Sender, string URL, TElWebDAVPrincipal Principal, ArrayList List, ref TSBWebDAVACLError Error, ref int StatusCode);

[VB.NET]
    Event OnSetACL As TSBWebDAVSetACLEvent
    Delegate Sub TSBWebDAVSetACLEvent(ByVal Sender As Object, ByVal URL As String, ByVal Principal As TElWebDAVPrincipal, ByVal List As ArrayList, ByRef Error As TSBWebDAVACLError, ByRef StatusCode As Integer)

[Pascal]
    property OnSetACL : TSBWebDAVSetACLEvent;
    TSBWebDAVSetACLEvent = procedure(Sender : TObject; const URL : string; Principal : TElWebDAVPrincipal; List : TElList; var Error : TSBWebDAVACLError; var StatusCode : integer) of object;

[C++]
    void get_OnSetACL(TSBWebDAVSetACLEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSetACL(TSBWebDAVSetACLEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVSetACLEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, SBWebDAVServer_TElWebDAVPrincipalHandle Principal, TListHandle List, TSBWebDAVACLErrorRaw &Error, int32_t &StatusCode);

[PHP]
    TSBWebDAVSetACLEvent|callable|NULL get_OnSetACL()
    void set_OnSetACL(TSBWebDAVSetACLEvent|callable|NULL $Value)
    callable TSBWebDAVSetACLEvent(TObject $Sender, string $URL, SBWebDAVServer_TElWebDAVPrincipal $Principal, TList $List, integer &$Error, integer &$StatusCode)

[Java]
    TSBWebDAVSetACLEvent getOnSetACL();
    void setOnSetACL(TSBWebDAVSetACLEvent Value);
    TSBWebDAVSetACLEvent.Callback OnSetACL = new TSBWebDAVSetACLEvent.Callback() {
        public void TSBWebDAVSetACLEventCallback(TObject Sender, String URL, TElWebDAVPrincipal Principal, ArrayList List, TElWebDAVACLErrorParam Error, TSBInteger StatusCode) {
            //...
        }
    }

Parameters

  • Principal - the principal for which the ACL should be modified.
  • List - the list of new ACEs.
  • Error - error code (if any) should be provided via this parameter.
  • StatusCode - status code should be provided via this parameter.
  • 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.

TSBWebDAVACLErrorRaw values

Description

    This event is fired when a change in ACL is requested. The handler should check the new ACL provided in the List parameter, and set the values of Error and StatusCode.

See also:     ...    

Discuss this help topic in SecureBlackbox Forum