Granting Function EXECUTE Permission

Grant function execute permission to users and roles.

Prerequisites
Database Version Database Object Privileges
SAP Sybase IQ 15.3 and 15.4 You must have one of:
  • DBA authority
  • PERMS ADMIN authority
  • You own the database object
SAP Sybase IQ 16.0 You must have one of:
  • MANAGE ANY OBJECT PRIVILEGE system privilege
  • You own the database object
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Compiled Objects, and then select Functions.
  3. Select a function from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Function Properties view appears.
  4. In the left pane, click Permissions.
  5. In the right pane, click Grant.
    The Grant Permission Wizard appears.
  6. On the Welcome page, indicate whether the permission is being granted to a user or role. Click Next.
  7. On the Grantees page, select one or more users or roles. Click the box in the header row to select all available users or roles. Click Next.
  8. On the Permissions page, ensure Execute is selected.
  9. Click Finish to close the permissions wizard.
  10. Do one of:
    • Click OK to update any changes to the database and exit the properties view.
    • Click Apply to update any changes to the database, but remain in the properties view.
    • Click Cancel to cancel any changes not updated to the database and exit the properties view.
Related tasks
Creating a Watcom SQL or Transact-SQL Function
Creating an External Java Function
Creating an External C/C++ Scalar or Aggregate Function
Deleting a Function
Generating Function DDL Commands
Viewing and Modifying a Function
Revoking Function EXECUTE Permission
Authenticating a Login Account for a Managed Resource
Related reference
Function Privilege Summary