mgd_get_group_by_name

Name

mgd_get_group_by_name -- Get a group record by its name

Synopsis

object mgd_get_group_by_name(int id, string name);

Description

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 successfull. Returns false on failure.

Example

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