ParentID on specific page

I’m using the ParentID function, and it works perfectly. However, I’d like to know if there’s any way to make ParentID work only on a specific screen that I choose. Right now, there are a couple of screens where the user can edit, just like the Parent user, and they can also view and edit their children’s data, which I don’t want.

What I want is for them to be able to edit the row only on the page I specify, and for the other pages to be restricted.

Thanks, everyone.

You may use UserID_Loaded, you can use the following methods:

  • deleteUserName(string $userName)
  • deleteUserID(mixed $userId)
    You can also manipulate the $this->UserIDs property directly.