ICITermsOfService Interface

The ICITermsOfService interface provides the properties of the Terms of Service.

Members

  • Property AgreementLabels As String

  • Retrieves or modifies Terms of Service labels.  

    HRESULT AgreementLabels([out, retval] BSTR *pVal);
    HRESULT AgreementLabels([in] BSTR val);

    Example (VBScript):

    set tos = oSite.GetTermsOfService 
    tos.AgreementLabels = “C:\toslabels.json”

    EFT v8 and later

  • Property AgreementPath As String

  • Retrieves or modifies Terms of Service agreement path. 

    HRESULT AgreementPath([out, retval] BSTR *pVal);
    HRESULT AgreementPath([in] BSTR val);

    Example (VBScript):

    set tos = oSite.GetTermsOfService 
    tos.AgreementPath = “C:\tos.json”

    EFT v8 and later

  • Property EffectiveDate As Variant

  • Retrieves or modifies Terms of Service effective date.

    HRESULT EffectiveDate([out, retval] VARIANT *pVal);
    HRESULT EffectiveDate([in] VARIANT newVal);

    Example (VBScript):

    set tos = oSite.GetTermsOfService 
    WScript.echo tos.EffectiveDate

    EFT v8 and later

  • Property Mode As GDPRTermsOfServiceMode

  • Retrieves or modifies Terms of Service mode. 

    HRESULT Mode([out, retval] GDPRTermsOfServiceMode *pVal);
    HRESULT Mode([in] GDPRTermsOfServiceMode newVal);

    Example (VBScript):

    set tos = oSite.GetTermsOfService 
    tos.Mode = GDPRTermsOfServiceMode_Implied

    EFT v8 and later

  • Property PreventFTPSUntilAgreed As Boolean

  • Retrieves or modifies “Prevent FTPS connection until agreed” option state.

    HRESULT PreventFTPSUntilAgreed([out, retval] VARIANT_BOOL *pVal);
    HRESULT PreventFTPSUntilAgreed([in] VARIANT_BOOL newVal);

    Example (VBScript):

    set tos = oSite.GetTermsOfService 
    tos.PreventFTPSUntilAgreed =True 

    EFT v8 and later

Dialog Box Equivalents

The Terms of Service dialog box is available from the Site > Web tab.