Topic: Can I create a program ...

Can I create a program for each user name and password that enters into a specific form?

2 (edited by brian.zaballa 2020-10-29 10:30:08)

Re: Can I create a program ...

abu7akm wrote:

Can I create a program for each user name and password that enters into a specific form?

Programmatically with MVD, Yes. You can use the Role Feature of MVD that can be see in the Object Inspector. You only need to enable the Role Function. You can check on this documentation http://myvisualdatabase.com/help_en/roles/roles.html. I attached a simple program for it.
Username/Password:
admin / admin
user1 / 123
user2 / 123
If you want for dynamic user access (Can be updated by user when program is deployed), you can check on this post http://myvisualdatabase.com/forum/viewtopic.php?id=6928

Post's attachments

Attachment icon abu7akm_users.zip 493.75 kb, 223 downloads since 2020-10-29 

brian

3 (edited by abu7akm 2020-10-29 11:02:19)

Re: Can I create a program ...

Icon not found




Role-based acces control"

4 (edited by brian.zaballa 2020-10-29 11:05:45)

Re: Can I create a program ...

abu7akm wrote:

Icon not found




Role-based acces control"

It might be on your MVD Version. It was introduced on Version 6.1. http://myvisualdatabase.com/forum/viewtopic.php?id=5724

brian

Re: Can I create a program ...

thank you

Re: Can I create a program ...

brian.zaballa wrote:
abu7akm wrote:

Can I create a program for each user name and password that enters into a specific form?

Programmatically with MVD, Yes. You can use the Role Feature of MVD that can be see in the Object Inspector. You only need to enable the Role Function. You can check on this documentation http://myvisualdatabase.com/help_en/roles/roles.html. I attached a simple program for it.
Username/Password:
admin / admin
user1 / 123
user2 / 123
If you want for dynamic user access (Can be updated by user when program is deployed), you can check on this post http://myvisualdatabase.com/forum/viewtopic.php?id=6928




Thank you
I have two notes
1- I cannot enter a new username and password
2- There is a problem when I link the program with the MySQL database

Re: Can I create a program ...

You can add users using the admin account.

As for the error, sometimes i encountered error too saying cannot create table something like that but since its only appearing when connecting in mysql when developing and does not affect or produce error when the application runs, i just ignore it.

brian