PDA

View Full Version : Client authenciation validation



info@icsnepal.com
03-14-2012, 05:41 PM
Dear Sir/Madam,

How to validate the authentication of client username and password by using VertexFX API?

Regards

KunjanPandey

Yousef-HS
03-19-2012, 08:41 AM
Hello,

There is an event called InvalidUsernamePassword that should be raised when calling the Login method of wrong user name or password.

Syntax:


Object_InvalidUsernamePassword ()

Part: Description

Object: Evaluates to CVertexFXClientAPI

This event used to handle "invalid username or password" case. For more information about the client API, make sure to check the Help file that comes with the API installation, and for the question you asked, it is included in the samples provided with installation; just search for "Invalid username" for the current project.

Not too much differences between the above for client API and the backoffice API, it's just the object name which is "CVertexFXClientAPI" for client and "CVertexFXBOAPI" for backoffice