{"id":494,"date":"2024-11-07T13:14:33","date_gmt":"2024-11-07T13:14:33","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=494"},"modified":"2024-11-07T13:23:12","modified_gmt":"2024-11-07T13:23:12","slug":"mwnci-getgrnam-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-getgrnam-function\/","title":{"rendered":"Mwnci getgrnam() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>getgrnam<strong>(<em>string<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>getgrnam()<\/i> function returns a hash of the group for the given group name.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"grp\")\r\nprintln(getgrnam(\"root\"))\r\n\r\n{\"Gid\": 0, \"Members\": [], \"Group\": \"root\", \"Password\": \"x\"}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax getgrnam(string) Description The getgrnam() function returns a hash of the group for the given group name. Example include(&#8220;grp&#8221;) println(getgrnam(&#8220;root&#8221;)) {&#8220;Gid&#8221;: 0, &#8220;Members&#8221;: [], &#8220;Group&#8221;: &#8220;root&#8221;, &#8220;Password&#8221;: &#8220;x&#8221;}<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-494","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=494"}],"version-history":[{"count":2,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/494\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/494\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}