Source: site.view [edit]
Function name: setVaultValue
Arguments: key,value
Description: Sets a value for a key in the vault.
Page type: webl
Render function:  
Module: siteutil

Page source:

try
   var v = Wub_SetVaultValue(key, value);
   "Key value was successfully set in your vault."
catch E
   on E.type == "InsufficientPermissions" do
      WubCall("sitemessageref", ["mustlogin", key])
end