{"id":152,"date":"2012-03-02T01:28:56","date_gmt":"2012-03-02T01:28:56","guid":{"rendered":"http:\/\/oranotes.tuktaroff.com\/?page_id=152"},"modified":"2012-03-02T01:33:07","modified_gmt":"2012-03-02T01:33:07","slug":"roles","status":"publish","type":"page","link":"http:\/\/oranotes.tuktaroff.com\/?page_id=152","title":{"rendered":"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 \/>\nSET LINESIZE  145<br \/>\nSET PAGESIZE  9999<br \/>\nSET VERIFY    off<\/p>\n<p>COLUMN role             FORMAT a30    HEAD 'Role Name'<br \/>\nCOLUMN grantee          FORMAT a30    HEAD 'Grantee'<br \/>\nCOLUMN admin_option     FORMAT a15    HEAD 'Admin Option?'<br \/>\nCOLUMN default_role     FORMAT a15    HEAD 'Default Role?'<\/p>\n<p>break on role skip 2<\/p>\n<p>SELECT<br \/>\n    b.role<br \/>\n  , a.grantee<br \/>\n  , a.admin_option<br \/>\n  , a.default_role<br \/>\nFROM<br \/>\n    dba_role_privs  a<br \/>\n  , dba_roles       b<br \/>\nWHERE<br \/>\n    granted_role(+) = b.role<br \/>\nORDER BY<br \/>\n    b.role<br \/>\n  , a.grantee<br \/>\n\/<br \/>\n<\/textarea><input type=\"button\" value=\"Clipboard\" onclick=\"copy(this.form.data)\"><\/form>\n<pre class=\"qcode\">\r\nSET LINESIZE  145\r\nSET PAGESIZE  9999\r\nSET VERIFY    off\r\n\r\nCOLUMN role             FORMAT a30    HEAD 'Role Name'\r\nCOLUMN grantee          FORMAT a30    HEAD 'Grantee'\r\nCOLUMN admin_option     FORMAT a15    HEAD 'Admin Option?'\r\nCOLUMN default_role     FORMAT a15    HEAD 'Default Role?'\r\n\r\nbreak on role skip 2\r\n\r\nSELECT\r\n    b.role\r\n  , a.grantee\r\n  , a.admin_option\r\n  , a.default_role\r\nFROM\r\n    dba_role_privs  a\r\n  , dba_roles       b\r\nWHERE\r\n    granted_role(+) = b.role\r\nORDER BY\r\n    b.role\r\n  , a.grantee\r\n\/\r\n<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SET LINESIZE 145 SET PAGESIZE 9999 SET VERIFY off COLUMN role FORMAT a30 HEAD &#8216;Role Name&#8217; COLUMN grantee FORMAT a30 HEAD &#8216;Grantee&#8217; COLUMN admin_option FORMAT a15 HEAD &#8216;Admin Option?&#8217; COLUMN default_role FORMAT a15 HEAD &#8216;Default Role?&#8217; break on role skip 2 SELECT b.role , a.grantee , a.admin_option , a.default_role FROM dba_role_privs a , dba_roles b [&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-152","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P2NVny-2s","_links":{"self":[{"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/152","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=152"}],"version-history":[{"count":2,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/152\/revisions"}],"predecessor-version":[{"id":160,"href":"http:\/\/oranotes.tuktaroff.com\/index.php?rest_route=\/wp\/v2\/pages\/152\/revisions\/160"}],"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=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}