Programming Reference:Functions:CCLoginUser

From CodeCharge Studio Community Wiki

Jump to: navigation, search

Description
Authenticates a user by comparing the login and password values against the values stored in the database. If a successful match is made, session variables containing the information of the logged in user are created to indicate an authenticated session.

Location
Common

Syntax

CCLoginUser(login, password)

Return value
Boolean


Parameters

Name Type Description Required
login string The username of the user to be logged in. Yes
password string The password of the user to be logged in. Yes


See Also:
CCGetUserID function, CCGetUserLogin function, CCLogoutUser function, CCGetGroupID function

Personal tools