%HTTP_METHOD
Specify a method that prompts for a password
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
|
status = %HTTP_METHOD(callback_type, method, error)
Return value
status
Returns 0 if successful or an error number if unsuccessful.
Arguments
callback_type
The callback type, which currently must be CALLBACK_PWD. (n)
method
The name of the Synergy routine to call. (a)
error
Returned with an error message if status is nonzero. Otherwise, it is blank. (a)
Discussion
%HTTP_METHOD is called to specify the name of a user-defined Synergy method that prompts the user for a Privacy Enhanced Mail (PEM) password any time a PEM file that has a password is accessed. This method must have one Synergy alpha argument that returns the password to use. For example, the method may look something like this:
subroutine mypasswd pwd ,a proc ; Prompt for password (pwd) here xreturn endsubroutine
The %HTTP_METHOD function is defined as ^VAL.