Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary

Differences

This shows you the differences between two versions of the page.

documentation:appproto:users [2013/11/14 15:10]
dothebart [Table]
documentation:appproto:users [2013/11/14 15:55] (current)
dothebart [Table] fix reference.
Line 9: Line 9:
 ====  PASS   (send PASSword)  ==== ====  PASS   (send PASSword)  ====
 The second step in logging in a user.  This command takes one argument: the password for the user we are attempting to log in.  If the password doesn't match the correct password for the user we specified for the USER command, [[documentation:appproto:statuscodes|ERROR + PASSWORD_REQUIRED]] is returned.  If a USER command has not been executed yet, [[documentation:appproto:statuscodes|ERROR + USERNAME_REQUIRED]] is returned.  If a user is already logged in, [[documentation:appproto:statuscodes|ERROR + ALREADY_LOGGED_IN]] is returned.  If the password is correct, [[documentation:appproto:statuscodes|OK]] is returned and the user is now logged in... and most of the other server commands can now be executed.  Along with [[documentation:appproto:statuscodes|OK]], the following parameters are returned: The second step in logging in a user.  This command takes one argument: the password for the user we are attempting to log in.  If the password doesn't match the correct password for the user we specified for the USER command, [[documentation:appproto:statuscodes|ERROR + PASSWORD_REQUIRED]] is returned.  If a USER command has not been executed yet, [[documentation:appproto:statuscodes|ERROR + USERNAME_REQUIRED]] is returned.  If a user is already logged in, [[documentation:appproto:statuscodes|ERROR + ALREADY_LOGGED_IN]] is returned.  If the password is correct, [[documentation:appproto:statuscodes|OK]] is returned and the user is now logged in... and most of the other server commands can now be executed.  Along with [[documentation:appproto:statuscodes|OK]], the following parameters are returned:
-^No.^Value^ +^ No.  ^ Value                                                                    
-|0 | The user's name (in case the client wants the right upper/lower casing)| +| 0    | The user's name (in case the client wants the right upper/lower casing)  
-|1 | The user's current access level| +| 1    | The user's current access level                                          
-|2 | Times called| +| 2    | Times called                                                             
-|3 | Messages posted| +| 3    | Messages posted                                                          
-|4 | Various flags (see citadel.h)| +| 4    | Various flags  (see libcitadel.h; US_*                                 
-|5 | User number| +| 5    | User number                                                              
-|6 | Time of last call (UNIX timestamp)|+| 6    | Time of last call (UNIX timestamp)                                       | 
  
  
Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)