{"id":156,"date":"2012-03-02T01:32:07","date_gmt":"2012-03-02T01:32:07","guid":{"rendered":"http:\/\/oranotes.tuktaroff.com\/?page_id=156"},"modified":"2012-03-02T01:33:01","modified_gmt":"2012-03-02T01:33:01","slug":"user-roles","status":"publish","type":"page","link":"http:\/\/oranotes.tuktaroff.com\/?page_id=156","title":{"rendered":"User roles"},"content":{"rendered":"<p><code><br \/>\n<script type=\"text\/javascript\"> \nfunction copy(what) {\n    window.clipboardData.setData('Text',what.value);\n}\nfunction paste(what) {\n    what.value = window.clipboardData.getData('Text');\n}\n<\/script><\/p>\n<form action=\"\"><textarea name=\"data\" cols=\"50\" rows=\"10\" style=\"display:none;\"><br \/>\nselect<br \/>\n\tGRANTED_ROLE,<br \/>\n\trp.ADMIN_OPTION,<br \/>\n\tDEFAULT_ROLE,<br \/>\n\tPRIVILEGE<br \/>\nfrom   \tdba_role_privs rp, dba_sys_privs sp<br \/>\nwhere  \trp.GRANTEE = sp.GRANTEE<br \/>\nand\trp.GRANTEE not in ('SYS','SYSTEM','DBA')<br \/>\nand rp.grantee = upper('%&USERNAME%')<br \/>\norder  \tby  rp.GRANTEE, GRANTED_ROLE, PRIVILEGE<br \/>\n\/<br \/>\n<\/textarea><input type=\"button\" value=\"Clipboard\" onclick=\"copy(this.form.data)\"><\/form>\n<pre class=\"qcode\">\r\nselect \t\r\n\tGRANTED_ROLE,\r\n\trp.ADMIN_OPTION,\r\n\tDEFAULT_ROLE,\r\n\tPRIVILEGE\r\nfrom   \tdba_role_privs rp, dba_sys_privs sp\r\nwhere  \trp.GRANTEE = sp.GRANTEE\r\nand\trp.GRANTEE not in ('SYS','SYSTEM','DBA')\r\nand rp.grantee = upper('%&USERNAME%')\r\norder  \tby  rp.GRANTEE, GRANTED_ROLE, PRIVILEGE\r\n\/\r\n<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>select GRANTED_ROLE, rp.ADMIN_OPTION, DEFAULT_ROLE, PRIVILEGE from dba_role_privs rp, dba_sys_privs sp where rp.GRANTEE = sp.GRANTEE and rp.GRANTEE not in (&#8216;SYS&#8217;,&#8217;SYSTEM&#8217;,&#8217;DBA&#8217;) and rp.grantee = upper(&#8216;%&#038;USERNAME%&#8217;) order by rp.GRANTEE, GRANTED_ROLE, PRIVILEGE \/ select GRANTED_ROLE, rp.ADMIN_OPTION, DEFAULT_ROLE, PRIVILEGE from dba_role_privs rp, dba_sys_privs sp where rp.GRANTEE = sp.GRANTEE and rp.GRANTEE not in (&#8216;SYS&#8217;,&#8217;SYSTEM&#8217;,&#8217;DBA&#8217;) and rp.grantee = upper(&#8216;%&#038;USERNAME%&#8217;) order by rp.GRANTEE, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":72,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-156","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P2NVny-2w","_links":{"self":[{"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156"}],"version-history":[{"count":2,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/156\/revisions"}],"predecessor-version":[{"id":159,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/156\/revisions\/159"}],"up":[{"embeddable":true,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/72"}],"wp:attachment":[{"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}