:Authenticate()


Class

     aprNNTP()

 

Syntax

     :Authenticate( cUID, cPWD, [hSession] ) -> lSuccess

 

Parameters

 

cUserID

User ID to use for Authentication to the remote server

 

cPassword

Password to use for Authentication to the remote server

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

To get further error information see :nErr and :cErr

 

Description

The :Authenticate() method is used to authenticate access to the news server.

Not all news servers require authentication by the client.

This function should only be called if the server requires authentication.

Two authentication methods, "original" and "simple" authentication, are recognized by the library.

 

See Also

:Connect(), :ListArticles(), :ListGroups()