Cpanel::Postgres::listusers

This article documents the usage of the Cpanel::Postgres::listusers function in relation to the cPanel interface. This tag can be used inside cPanel pages.

Synopsis

Cpanel::Postgres::listusers

Description

This function will output the names of all PostgreSQL users associated with a domain.

Variables

Input

None

Output

Examples

<?cp Postgres::listusers( [tr] [td]%[/td] [/tr] ,user, dblist: [table] : [tr][td]%[/td][/tr]: [/table], db) ?>

This example wil output rows of a table that contain the usernames of all PostgreSQL users associated with a domain as well as rows of a table containing the databases they have access to.

Copyright

Copyright 2007 cPanel Inc.

Topic revision: r2 - 07 Apr 2009 - 21:43:42 - Main.JustinSchaefer
 

Copyright © cPanel 2000-2010.