Name
mgd_update_password_plain -- Change username and plain text password of a person
Synopsis
bool mgd_update_password_plain
(int id, string username, string password);
Description
Changes the username and password associated with a person
record. The password is stored in the database in plain
text. Only administrators and the user himself may change the
password.
Retruns true if successfull. Returns false on failure.
Example
<?php
$id = 13;
$username = "balder";
$password = "unsafe";
mgd_update_password_plain( $id, $username, $password );
?>