User Management for an Internet Access Control Application
In this part of the Internet access control application, we are going to discuss the last section of the server application that deals with user management. The term "user management" is somewhat misleading in the context of our application because it is not actually users of the Internet café that we are referring to, but rather the staff members. This section will deal with how staff members allocate Internet sessions to users and also how staff members with administration level access can add, remove and change new staff member details.
User Management for an Internet Access Control Application - User Management Module (Page 2 of 4 )
The user management module has the following options:
Add new user
Change user password
View user profile (not implemented)
The “add new user” option allows an administrator to add a new staff member to the database. This procedure essentially sends the new staff member's name, username, password and access level to the database. The code below demonstrates how this is achieved: