loginprofile

Logins a new user into the Tonido System (HTTP POST)

Parameters:
profilename of the profile to authenticate
passwordSHA-1 Hash of (user password)
safemodewhether to disable all plugins
autologinwhether to enable or disable automatic login
Returns:
XML
    <commands> 
        <command>
             <type>loginprofile</type>
            <result> { 0 | 1 | 2 } </result>
            <message> { if Remote Login (2) Secret Qn } </message>
       </command>
    </commands>

Requirements:

Note:
On successful login, the current HTTP session is authenticated for future access. This is done by setting the cookie.

Result code of 0-Failed to login 1-Login successful 2-Remote Login need secret question, secret ans is in the reason element


Generated on Wed Oct 12 2011 21:46:52. © CodeLathe LLC 2007-2011. All Rights Reserved.