11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

loadSecurityContext<br />

Syntax<br />

loadSecurityContext(context, name, passPhrase)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

The loadSecurityContext() function loads a saved security context record into the<br />

current session.<br />

The name and passPhrase parameters are needed to retrieve and decrypt the saved<br />

context. UniData creates an internal data structure and returns its handle in the<br />

context parameter.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

context The handle to be returned.<br />

name String containing the name of the file storing the security contents.<br />

PassPhrase String containing the passPhrase needed to decrypt the saved data.<br />

loadSecurityContext Parameters<br />

loadSecurityContext 1-417

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!