11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NFAUSER<br />

Syntax<br />

NFAUSER(“username”, “password”)<br />

Description<br />

Beginning at UniData 5.0, a Network File Access (NFA) connection from an NFA<br />

client requires a valid user name and password. If the client connection is made<br />

through udtelnet, this information is available and passed to the NFA server for<br />

connecting. If the session is a console session, the system prompts for the user name<br />

and password when a connection is requested, such as when you OPEN the first NFA<br />

file on a database.<br />

<strong>UniBasic</strong> now provides the NFAUSER function which enables you to set the user<br />

name and password in a <strong>UniBasic</strong> program.<br />

Parameters<br />

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

Parameter Description<br />

After running this function and providing a valid user name and password combination,<br />

an NFA connection no longer prompts for this information, regardless if it is<br />

from the console or via udtelnet. NFAUSER does not validate the user<br />

name/password combination, but registers them in an internal variable for later use.<br />

1-478 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

username A valid user name on the NFA server to which you are connecting.<br />

password The password corresponding to username.<br />

NFAUSER Parameters

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

Saved successfully!

Ooh no, something went wrong!