I am using bitwise functions, BAND / BXOR, to assign security groups to users. Since the groups are longs, I can have 32 groups available and 32 groups assigned to the user. I have a form with 2 browses on it.
Available Security Groups Assigned Security Groups
Supper High Security Medium Security
Low Security
The idea would be for a user to click on a button to "Assign" or "Un-Assign" a security group. On the server, perform a BXOR and turn on/off the security group. My issue is that I do not know how to identify which security group the user was on when they clicked "Assign" and how to refresh the browser.
Any ideas or suggestions on a different approach?