8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00
firebird-mirror/doc/README.UserSql
2008-01-22 10:30:23 +00:00

30 lines
898 B
Plaintext

Issue:
======
New SQL operators to maintain user accounts.
Scope:
======
Affects firebird versions starting with 2.5.
Document author:
=================
Alex Peshkov (peshkoff@mail.ru)
Document date: Fri Dec 28 2007
==============
Added following DSQL operators:
CREATE USER name PASSWORD 'pass' [FIRSTNAME 'text'] [MIDDLENAME 'text'] [LASTNAME 'text'];
ALTER USER name [SET] [PASSWORD 'pass'] [FIRSTNAME 'text'] [MIDDLENAME 'text'] [LASTNAME 'text'];
DROP USER name;
At least one of PASSWORD / FIRSTNAME / MIDDLENAME / LASTNAME is required in ALTER USER.
Non-privileged (non-SYSDBA) user can use only ALTER USER operator with his own name
as name parameter in it.
WARNING! These operators are not under transaction control!
That means that changes take place in security database at once after execution of a request,
not waiting for COMMIT, and can not be rolled back.