Home > Back-end >  Login system
Login system

Time:10-21

In c + + builder needs to be done to a system, but to the login page and log in with the administrator and general user, I got a man named stor. MDB database, the administrator and general user's user name and password, you need to decide now login, how do you write the code?

CodePudding user response:

With two records?

CodePudding user response:

What are the two records?

CodePudding user response:

themselves within the database built two accounts. Defined as the administrator and general user.

And judging by the user name login is good..

Or default give a management account.. Are free to create users and assign permissions. After go in.

CodePudding user response:

Or your database to the user group an emblem of authority, such as 0 for super administrators, 1 for ordinary management, 2 for general users, according to look for signs of come out the results give the corresponding privileges
  • Related