IDAX.GRANT_MODEL - Grant a privilege on a model
Use this stored procedure to grant a privilege on a model to one or more users, groups, or roles.
You must specify at least one user, one group, or one role. You can specify also
the PUBLIC group. The PUBLIC group includes all users.
Authorities
The privileges held by the authorization ID of the statement must include at least one of the following authorities.
- To grant the SELECT privilege:
- CONTROL privilege on the model
- SECADM authority
- SELECT WITH GRANT OPTION privilege
- To grant the CONTROL privilege:
- SECADM authority
Syntax
IDAX.GRANT_MODEL(in parameter_string varchar(32672))
Parameter descriptions
- parameter_string
- Mandatory one-string parameter that contains pairs of <parameter>=<value> entries that are separated by a comma.
Returned information
If an error occurs, an exception is raised.