Discuss this help topic in SecureBlackbox Forum

TElWebDAVACLOptions.OnGetACLRestrictions

TElWebDAVACLOptions     


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


This event is fired when ACL restrictions are requested.

Declaration

[C#]
    event TSBWebDAVGetACLRestrictionsEvent OnGetACLRestrictions;
    delegate void TSBWebDAVGetACLRestrictionsEvent(Object Sender, string URL, TElWebDAVPrincipal Principal, TElWebDAVACLRestrictions Restrictions);

[VB.NET]
    Event OnGetACLRestrictions As TSBWebDAVGetACLRestrictionsEvent
    Delegate Sub TSBWebDAVGetACLRestrictionsEvent(ByVal Sender As Object, ByVal URL As String, ByVal Principal As TElWebDAVPrincipal, ByVal Restrictions As TElWebDAVACLRestrictions)

[Pascal]
    property OnGetACLRestrictions : TSBWebDAVGetACLRestrictionsEvent;
    TSBWebDAVGetACLRestrictionsEvent = procedure(Sender : TObject; const URL : string; Principal : TElWebDAVPrincipal; Restrictions : TElWebDAVACLRestrictions) of object;

[C++]
    void get_OnGetACLRestrictions(TSBWebDAVGetACLRestrictionsEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetACLRestrictions(TSBWebDAVGetACLRestrictionsEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVGetACLRestrictionsEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, SBWebDAVServer_TElWebDAVPrincipalHandle Principal, TElWebDAVACLRestrictionsHandle Restrictions);

[PHP]
    TSBWebDAVGetACLRestrictionsEvent|callable|NULL get_OnGetACLRestrictions()
    void set_OnGetACLRestrictions(TSBWebDAVGetACLRestrictionsEvent|callable|NULL $Value)
    callable TSBWebDAVGetACLRestrictionsEvent(TObject $Sender, string $URL, SBWebDAVServer_TElWebDAVPrincipal $Principal, TElWebDAVACLRestrictions $Restrictions)

[Java]
    TSBWebDAVGetACLRestrictionsEvent getOnGetACLRestrictions();
    void setOnGetACLRestrictions(TSBWebDAVGetACLRestrictionsEvent Value);
    TSBWebDAVGetACLRestrictionsEvent.Callback OnGetACLRestrictions = new TSBWebDAVGetACLRestrictionsEvent.Callback() {
        public void TSBWebDAVGetACLRestrictionsEventCallback(TObject Sender, String URL, TElWebDAVPrincipal Principal, TElWebDAVACLRestrictions Restrictions) {
            //...
        }
    }

Parameters

  • Principal - the principal for which the restrictions are requested.
  • Restrictions - restrictions should be returned via this parameter.
  • URL - URL of the resource for which the restrictions are requested.
  • pcURL - URL of the resource for which the restrictions are requested.
  • szURL - the length of szURL in bytes.

Description

    The event handler should provide restrictions via the corresponding parameter.

Discuss this help topic in SecureBlackbox Forum