<1хр>
<include sql="SELECT usenarne. usesuper. usecreatedb
FROM pg_user
WHERE usesysid = Suserid"
setvars="usennfo">
</include>
<1f sql,numrows="l">
User name: <putvar name="usennfo.usename">
<br />
<if userinfo.usecreatedb-'t'>
<strong>
This user can create databases.</strong>
<br />
</if>
<if userinfo.usesuper='t'>
<strong>
Trns user is a superuser.</strong>
<br />
</1f>
</1f>
<else>
Error: No user was found.
</else>
</lxp>