This is a tiny (unmaintained) script I made for my Galaxy S8. If you're interested in multiuser, I'd recommend using the "MagiskHide Props Config" module instead of this project, and setting the following custom props:
fw.max_users=10
fw.show_multiuserui=1