how to create new user

Поиск
Список
Период
Сортировка
Искать

how to create new user

От:
Mohamed Fazil <mohdfazil_p_a@yahoo.com>
Дата:
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.
 
Regards
Mohamed Fazil


Mohamed Fazil.P.A
CRISIL
Mumbai

Mob : 9869520774


Yahoo! Mail
Use Photomail to share photos without annoying attachments.

Re: how to create new user

От:
"Magnus Hagander" <mha@sollentuna.net>
Дата:
> 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
FAQ