Sunday November 19, 2017

       
      SteelArrow Basics
      SteelArrow Tags
  SteelArrow Functions
  SteelArrow Objects
  Advanced Topics
  WAS Overview
   
   
       
      Overview
  Code Samples
  Site Search
   
   
   


Get SteelArrow!     
  <SAUSERCONTEXT>    
 
 
 
Return to Tag List
 
The USERCONTEXT tag places a script into a new user context. Normally all script access is with the global user (default). With USERCONTEXT, a different context can be temporarily used to access restricted server resources.

New user contexts (often referred to as Security Sandboxes) are created by the system administrator to control access to restricted resources.

 
Attributes:
USERNAMEvariable or literal string representing username
PASSWORDvariable or literal string representing password

 
The following is an example of USERCONTEXT;
 
<!--- Temporary access to restricted resource --->
<SAUSERCONTEXT USERNAME="admin" PASSWORD="abc1323">
   <SAQUERY NAME=DbQuery DATASOURCE="RestrictedDS">
      SELECT * FROM table
   </SAQUERY>

   <!--- Access to restricted tag --->
   <SAFILE ACTION="Delete"
         SOURCE="C:\Server\dataFile.dat">
</SAUSERCONTEXT>





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy