Re: how to create new user

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Mohamed Fazil" <mohdfazil_p_a(at)yahoo(dot)com>, "pg-admin postgre" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: how to create new user
Date: 2006-02-28 20:41:32
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0F807@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> Hello all,
>
> I am trying to install PG through a program for which i need
> to create a user on Windows programmatically. As I understand
> the Postgres installer does a similar thing. Can someone help
> me with the commands/exe that can be used on Windows 2k,XP,2003.

If you want to create a user from the commandline, try "net user /help".
If you want to create it from a C program, look at the source to
pginstaller, available on pgfoundry.org/projects/pginstaller.

//Magnus

Browse pgsql-admin by date

  From Date Subject
Next Message Gourish Singbal 2006-03-01 09:15:22 Re: Database information
Previous Message Mario Splivalo 2006-02-28 15:53:00 pg_diff, or something like it...?