Allows users to validate or check tables, materialized views, indexes, or databases in the system store. The objects can be owned by any user.
The WITH ADMIN ONLY OPTION and WITH ADMIN OPTION clauses are invalid when using the WITH NO SYSTEM PRIVILEGE INHERITANCE clause. The WITH NO ADMIN OPTION clause is valid, but not required, as it is semantically equivalent to the WITH NO SYSTEM PRIVILEGE INHERITANCE clause.
Administrative Option | Statement |
---|---|
With full administrative rights |
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO user_ID WITH ADMIN OPTION |
With administrative rights only |
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO user_ID WITH ADMIN ONLY OPTION |
With no administrative rights |
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO user_ID WITH NO ADMIN OPTION |
With no system privilege inheritance |
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO user_ID WITH NO SYSTEM PRIVILEGE INHERITANCE |
This example grants the SYS_AUTH_VALIDATE_ROLE to Mary with administrative rights and inheritance of the underlying system privileges of the role.
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO Mary WITH ADMIN OPTION
This example grants the SYS_AUTH_VALIDATE_ROLE to Joe with neither administrative rights nor inheritance of the roles underlying system privileges.
GRANT ROLE SYS_AUTH_VALIDATE_ROLE TO Joe WITH NO SYSTEM PRIVILEGE INHERITANCE