|
|
|
|
|
gpwCheckUser (Function) In french: gpwVérifieUtilisateur Checks the existence and validity of the password for a user of the user groupware. nRes is int = gpwCheckUser(Login, Password) // If the login failed IF nRes <> gpwOk THEN     SWITCH nRes         CASE gpwError: Error("Error while initializing the groupware.")         CASE gpwUnknownUser: Error("Unknown user.")         CASE gpwInvalidPassword: Error("Invalid password")     END     EndProgram() END
Syntax
<Result> = gpwCheckUser(<Login> , <Password>)
<Result>: Integer Result of the check: | | gpwError | An error occurred. To get more details on the error, use ErrorInfo. | gpwInvalidPassword | The user password is not valid. It does not correspond to the user password described in the database of user groupware. | gpwOK | The user is connected. | gpwUnknownUser | The user is unknown: it is not found in the database of user groupware. |
<Login>: Character string Username. <Password>: Character string Password associated with the user login.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|