Hi Diogo,
Yes, it's possible. You can either show the login data in a pop-up message or you can display it on any form by using a label.
Using a label is perhaps more helpful because it is always visible.
In my previous example, a user role was used to either allow or prohibit access to the application but perhaps it is too limited?
So in this new example and to give you more of an idea how user roles can be applied, users Admin and Diogo have access (full access) but user Derek now has 'read only' access.
For 'read only' access,
1. the data can still be viewed but buttons to add or delete data are hidden on Form1,
2. the button to save data on Form2 is hidden
3. the button to save data on Form3 is hidden
4. the date column in Form2.tablegrid1 is hidden (for whatever reason!).
5. the edit fields on Form2 are read only
6. the edit fields on Form3 are read only
All of the above is just configuration and doesn't require a script - have a look at screenshot1 in the attachment to see how to configure it (any object can be configured like this, not just a button or an edit field).
So by using 'user roles' in combination with different 'role' settings for various objects, you can do quite a lot very easily.
As before, the passwords are the same as the Userids.
Derek.
Post's attachments access2.zip 493.73 kb, 276 downloads since 2021-07-21