Returns the one-to-one mapping between system privileges and system roles.
sp_sys_priv_role_info( )
Column | Type | Description |
---|---|---|
sys_priv_name | CHAR(128) | The name of the system privilege. |
sys_priv_role_name | CHAR(128) | The name of the corresponding system role. |
sys_priv_id | UNSIGNED INTEGER | The ID number for the system role. |
sp_sys_priv_role_info reports the complete one-to-one mapping between system privileges and system roles and role IDs. This procedure returns a row for each system privilege.
Designed mainly for internal use, this procedure is used by utilities that need to map a granted system role to the corresponding system privilege and vice versa.
None
SQL/2008 Vendor extension.
The following statement returns the mapping of system privileges to their corresponding system role.
CALL sp_sys_priv_role_info(); |
sys_priv_name | sys_priv_role_name | sys_priv_id |
---|---|---|
VALIDATE ANY OBJECT | SYS_VALIDATE_ANY_OBJECT_ROLE | 2147483819 |
REORGANIZE ANY OBJECT | SYS_REORGANIZE_ANY_OBJECT_ROLE | 2147483820 |
BACKUP DATABASE | SYS_BACKUP_DATABASE_ROLE | 2147483821 |
MANAGE ANY EVENT | SYS_MANAGE_ANY_EVENT_ROLE | 2147483822 |
ALTER DATABASE | SYS_ALTER_DATABASE_ROLE | 2147483823 |
SERVER OPERATOR | SYS_SERVER_OPERATOR_ROLE | 2147483824 |
UPGRADE ROLE | SYS_UPGRADE_ROLE_ROLE | 2147483825 |
MANAGE ANY LDAP SERVER | SYS_MANAGE_ANY_LDAP_SERVER_ROLE | 2147483827 |
MANAGE CERTIFICATES | SYS_MANAGE_CERTIFICATES_ROLE | 2147483828 |
CREATE ANY SEQUENCE | SYS_CREATE_ANY_SEQUENCE_ROLE | 2147483829 |
... | ... | ... |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |