Discuss this help topic in SecureBlackbox Forum

TElWebDAVACLOptions.OnReadOwner

TElWebDAVACLOptions     


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


This event is fired when the owner of some resource is requested.

Declaration

[C#]
    event TSBWebDAVReadOwnerEvent OnReadOwner;
    delegate void TSBWebDAVReadOwnerEvent(Object Sender, string URL, ref TElWebDAVPrincipal Principal);

[VB.NET]
    Event OnReadOwner As TSBWebDAVReadOwnerEvent
    Delegate Sub TSBWebDAVReadOwnerEvent(ByVal Sender As Object, ByVal URL As String, ByRef Principal As TElWebDAVPrincipal)

[Pascal]
    property OnReadOwner : TSBWebDAVReadOwnerEvent;
    TSBWebDAVReadOwnerEvent = procedure(Sender : TObject; const URL : string; var Principal : TElWebDAVPrincipal) of object;

[C++]
    void get_OnReadOwner(TSBWebDAVReadOwnerEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnReadOwner(TSBWebDAVReadOwnerEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVReadOwnerEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, SBWebDAVServer_TElWebDAVPrincipalHandle &Principal);

[PHP]
    TSBWebDAVReadOwnerEvent|callable|NULL get_OnReadOwner()
    void set_OnReadOwner(TSBWebDAVReadOwnerEvent|callable|NULL $Value)
    callable TSBWebDAVReadOwnerEvent(TObject $Sender, string $URL, SBWebDAVServer_TElWebDAVPrincipal &$Principal)

[Java]
    TSBWebDAVReadOwnerEvent getOnReadOwner();
    void setOnReadOwner(TSBWebDAVReadOwnerEvent Value);
    TSBWebDAVReadOwnerEvent.Callback OnReadOwner = new TSBWebDAVReadOwnerEvent.Callback() {
        public void TSBWebDAVReadOwnerEventCallback(TObject Sender, String URL, TElWebDAVPrincipalParam Principal) {
            //...
        }
    }

Parameters

  • Principal - the owner of the resource should be provided via this parameter.
  • URL - URL of the resource for which the owner is requested.
  • pcURL - URL of the resource for which the owner is requested.
  • szURL - the length of szURL in bytes.

Description

    The handler of this event should provide information about the resource owner via the Principal parameter.

Discuss this help topic in SecureBlackbox Forum