mgd_copy_person

Name

mgd_copy_person -- Copy a person record

Synopsis

int mgd_copy_person(int id, int root);

Description

Minimum version: Midgard 1.4 (Bifrost)

Copies the person record with id id to a new location in group with id root.

Returns the id of the created copy if successfull. Returns false on failure.

Example

<?php
  mgd_copy_person(13,17);
?>