Jump to content
  • Persistent Variables - 4.5 - Namespace

    Persistent Variables - 4.5 - Namespace

    VBScript

     

    This property set the name of a namespace if the Scope if the persistent variable is set to SCOPE_NAMESPACE.

     

    The given name may contain any characters. It has a maximum length of 128 characters. Longer strings will be truncated.

     

    Dim Announcement
    Set Announcement       = new PersistentVariable
    Announcement.Name      = "Welcome"
    Announcement.Scope     = SCOPE_NAMESPACE
    Announcement.Namespace = "Support"

     

    The above example defines a persistent variable Welcome in the namespace Support. All scripts defining the same namesapce (regardless on which user or group they are running) will be able to access this variable.

     

    Another persistent variable Welcome in a namespace Sales would not interfere.

     

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.