-
Albert Sas
- PowerBuilder
- Tuesday, 13 May 2025 11:49 AM UTC
Hi everyone,
I'm new to PowerBuilder and working on an application built with PowerBuilder 2019 R3. I have a window called w_xxx
where I can see a list of programs and their associated users. For each program, I can see which users have permission and which do not.
I’ve already implemented a button that, when clicked, shows a list of all users sorted alphabetically. The users who have permission are listed first, followed alphabetically by those without permission. If I remove permission from a user and save, they move to the list of users without permission, as expected.
Now, I’ve been asked to implement a new feature: the ability to copy permissions from one user to another. My idea is to add a new button that opens a window where you can:
-
Select the source user (the one whose permissions you want to copy),
-
Then select the target user (the one who should receive those permissions),
-
And finally copy the same set of program permissions from one to the other.
I’d appreciate any suggestions or examples on how best to implement this. Is there a common pattern or approach in PowerBuilder for managing and copying this kind of user permission data?
Thanks in advance!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.