Question:
How can the user be allowed to change their password when the application is running?
Solution:
This can be done by using the application’s UserAdministration() function. This function can call two dialogs: one that changes the user’s password if their access level (userAccessLevel) is higher than or equal to 2, and another one that allows including and deleting users if the access level of the user currently logged in (userAccessLevel) is 1 (super-user). If there is no user logged in, this function will display a message box for Denied Access.