mgd_get_group_by_name

(Midgard 1.4.2 'Bifrost')

mgd_get_group_by_name -- Get a group record by its name

Description

object mgd_get_group_by_name (int id, string name)

Minimum version: Midgard 1.4 (Bifrost)

Gets information about the group record with name name and the owner field set to id.

Returns an object describing the group record if successful. Returns FALSE on failure.


<?php
  $group = mgd_get_group_by_name(13,"core_developers");
  echo $group->homepage . "<br>\n";
?>