When I go to Schema Browser and follow the steps below the script either gets generated with only grants and no CREATE USER statement or no script gets generated if the user did not make grants to other users or roles. I expected the CREATE USER statement along with all the grants. Please see the attached.
right click on a user, select Create, select script, script options, users, check "Grants on the user's objects to other users/roles", and then click okay