Ram,<div><br></div><div>As Alan mentioned you can only use username and Access key to authenticate through webservices.<br><br><div class="gmail_quote">On 20 July 2012 09:52, ram prasad <span dir="ltr"><<a href="mailto:ramtrg@gmail.com" target="_blank">ramtrg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank You...This Javascript library has only webservice calls and query after getting session id by passing preference key. I want to get Preference Key(taken from CRM preferences) from my client itself.<div>
<br></div><div>
My need :</div><div><ol><li><font color="#990000">Validate the username and password to login vtiger account from client.</font></li><li>if valid user, get preference key and using this key get session id.</li><li>Then i can use this javascript library to call webservices with my preference key and session id.</li>
</ol><div>Now i need <font color="#990000">First step</font> only.Please help me to do this?</div></div><div><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 1:04 PM, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 19/07/12 07:33, ram prasad wrote:<br>
><br>
> How to authenticate this user. Can i use Web service for this? or<br>
> should i use separate php script for checking database.<br>
><br>
> Also In database, password filed has ebcryted password. How to check<br>
> my password (entered in textbox) with Database password(encrypted).<br>
<br>
</div>The Web services API doesn't use username/password. It uses<br>
username/access key:<br>
<br>
<a href="https://wiki.vtiger.com/index.php/Webservices_tutorials#Logging_In" target="_blank">https://wiki.vtiger.com/index.php/Webservices_tutorials#Logging_In</a><br>
<span><font color="#888888"><br>
--<br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><font face="comic sans ms,sans-serif"><span style="color:rgb(153,0,0)">BY</span><br><br><span style="color:rgb(0,102,0)">R.RAMPRASAD</span></font><br>
<br>
</font></span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Vikas<br>Vtiger Team<br>
</div>