mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Doc enhancement
This commit is contained in:
parent
9350f941dc
commit
3dd3429833
@ -49,12 +49,11 @@ be also used to store any short information about user. Clauses INACTIVE/ACTIVE
|
|||||||
user's login to server not dropping it from the list and restoring that ability.
|
user's login to server not dropping it from the list and restoring that ability.
|
||||||
|
|
||||||
TAGS is a list of end-user defined attributes. Length of the value should not exceed 255 bytes.
|
TAGS is a list of end-user defined attributes. Length of the value should not exceed 255 bytes.
|
||||||
|
Assigning name some value sets new or modifies existing tag. To remove the tag use DROP option.
|
||||||
Setting a list of tags for the user keeps earlier set tags if they are not mentioned currently.
|
Setting a list of tags for the user keeps earlier set tags if they are not mentioned currently.
|
||||||
Notice - UID/GID, entered by deprecated gsec, are treated as tags in SQL interface.
|
Notice - UID/GID, entered by deprecated gsec, are treated as tags in SQL interface.
|
||||||
|
|
||||||
To access list of users please select from virtual tables SEC$USERS and SEC$USER_ATTRIBUTES.
|
To access list of users please select from virtual tables SEC$USERS and SEC$USER_ATTRIBUTES.
|
||||||
This feature highly depends upon user management plugin. Take into an account that some options
|
|
||||||
are ignored when using legacy user management plugin.
|
|
||||||
|
|
||||||
|
|
||||||
Samples:
|
Samples:
|
||||||
@ -85,3 +84,21 @@ Samples:
|
|||||||
================ ==============================
|
================ ==============================
|
||||||
B x
|
B x
|
||||||
C sample
|
C sample
|
||||||
|
|
||||||
|
Displaying users' list:
|
||||||
|
SELECT CAST(U.SEC$USER_NAME AS CHAR(20)) LOGIN,
|
||||||
|
CAST(A.SEC$KEY AS CHAR(10)) TAG,
|
||||||
|
CAST(A.SEC$VALUE AS CHAR(20)) "VALUE"
|
||||||
|
FROM SEC$USERS U LEFT JOIN SEC$USER_ATTRIBUTES A
|
||||||
|
ON U.SEC$USER_NAME = A.SEC$USER_NAME;
|
||||||
|
|
||||||
|
LOGIN TAG VALUE
|
||||||
|
==================== ========== ====================
|
||||||
|
SYSDBA <null> <null>
|
||||||
|
ALEX B x
|
||||||
|
ALEX C sample
|
||||||
|
|
||||||
|
|
||||||
|
Notice!
|
||||||
|
This feature highly depends upon user management plugin. Take into an account that some options
|
||||||
|
are ignored when using legacy user management plugin.
|
||||||
|
Loading…
Reference in New Issue
Block a user