Hello guys!
My application allows the administrator user to register other users to use the system. I would like to know how do I delete this user list if the administrator user deletes his account. Thanks
Hi there, @marciosb… if I understand your question correctly, I would probably have a field on the User
data type (let’s call it Linked Users
for this example) that is a list of users. Then, as the administrator registers other users, I would add each user to the administrator’s Linked Users
list. With that structure in place, you have easy access to a list of users to delete (Current User's Linked Users
) if the admin deletes their account. You will need to delete the list of users before deleting the admin user, of course, but that probably went without saying.
Hope all of that makes sense, and I hope it helps.
Best…
Mike
Thanks very much mikeloc
Hello, I have another question about this. How do I delete the records from this user list when the admin user deletes his account? tanks for attencion
This topic was automatically closed after 70 days. New replies are no longer allowed.