Granting privileges through routines

You can grant users the required privileges for implementing, defining, and using a user-defined function through exit routines.