CouchdbClient::createAdminUser

Creates a CouchDB admin user.

Description

public bool CouchdbClient::createAdminUser ( string $user_name , string $password )

Warning

This function is currently not documented; only its argument list is available.

Parameters

user_name

The username.

password

The password.

Return Values

Returns true on success false on failure.

Examples

Example #1 CouchdbClient::createAdminUser example

<?php

/* ... */

?>

The above example will output something similar to:

...