Page 1 of 1
Add, delete, edit user
Posted: 30.03.2010, 12:51
by fcodebue
someone have some idea how I can add, delete, edit users in firebird using zeos?
Posted: 30.03.2010, 13:28
by mrLion
And what, SQL "CREATE / alter / drop USER" is not suitable?
Posted: 30.03.2010, 17:40
by seawolf
I suppose you are using at least FB 2.0 ... there are 2 ways:
1. all information regarding users are stored in a file called security2.fdb so find this file, open it and do the changes (remember password are encrypted with SHA1)
2. you have to call isc_spb_sql_user,isc_spb_sql_pass,isc_spb_sql_role function and manage services (isc_spb_sql_* needed gsec command tool)