AUTHUSER        Verify remote user name

Top  Previous  Next

Syntax:

AUTHUSER

[ user ]  [ auth file ]

Arguments:

[ user  ]

Variable or string defining a user name; this is typically received from a remote user by way of the LINEIN command

 

[auth file ]

Optional variable or string defining the name of the authorization file; if this is omitted, the default file "authorization.txt" is used

Options:

none

 

 

 

This script command would be used when FileLink is acting as a host to remote systems in an async modem protocol file transfer environment.

 

This command to may be used to verify that a remote user is authorized to communicate with FileLink. The verification process involves prompting for a user name and then searching for a match within a previously created authorization file. See Authorization File Format for more information on this file.

 

Consider the following example where the remote user is prompted for their user name and it is verified using the default authorization file.

 

LINEOUT "Enter your user name:"

LINEIN username /timeout=60

AUTHUSER username

IFERROR= $ERROR_AUTHORIZATION_FAILED goto UnrecognizedUser

 

Related Command(s): AUTHDATA, AUTHPW

See also: Authorizing Remote Users, Dial-In Connection With Authorization