Hi again
I do use hooks to update some files that are related with the current user, it works nicely, now i need also to change ownership of those same records to the user, is thera a command line to do so in the php hook?
a3
Change ownership
Re: Change ownership
Code: Select all
set_record_owner('TABLENAME', 'PK', 'MEMBERID_OF_NEW_OWNER);
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Veteran Member
- Posts: 104
- Joined: 2018-12-10 21:52
Re: Change ownership
Wow SOLID GOLD!
Also for more info, i left here a link where you explained it in detail
viewtopic.php?t=3090
thanks!
a3
Also for more info, i left here a link where you explained it in detail
viewtopic.php?t=3090
thanks!
a3