:Authenticate()
Class
Syntax
:Authenticate(cUserName, cPassword, nOption ) -> lSuccess
Parameters
|
|
cUserName |
User name |
|
|
cPassword |
Password |
|
|
nOption |
Numeric indicating authentication type. see table below. |
Return
Logical indicating Success.
Returns .T. if the operation succeeds, otherwise returns .F.
Description
Specify authentication information for restricted resources
The following authentication values are recognized.
|
Constant |
Description |
|
HTTP_AUTH_NONE |
This option specifies that no client authentication should be performed. The cUsername and cPassword are ignored. This is the default value. |
|
HTTP_AUTH_BASIC |
This option specifies that the basic authentication scheme should be used. This option is supported by all servers that support at least version 1.0 of the protocol. |
See Also
:Connect(), :CreateFile(), :DeleteFile(), :OpenFile()