User Manager/User prefix: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
m Reverted edits by Bc3Xuh (Talk); changed back to last version by Normis
(No difference)

Revision as of 11:34, 11 June 2007

Every user belongs to specific subscriber. To separate users among customers of the same subscriber, a specific customer property called user prefix is used. (See the meaning of word prefix in Wikipedia).

It is a customer's string field which specifies initial part of user login (username). Only users with such initial part of username will are accessible to this customer.

Example (insignificant parts skipped):

[admin@USERMAN] tool user-manager customer> print
0   subscriber=owner login="owner" password="" permissions=owner parent=owner
1   subscriber=owner login="manager" password="" user-prefix="p" permissions=read-write parent=owner
2   subscriber=owner login="reader" password="" user-prefix="public" permissions=read-only parent=owner

[admin@USERMAN] tool user-manager user> print
0    subscriber=owner username="differentUser"
1    subscriber=owner username="publicUser1"
2    subscriber=owner username="publicUser2"
3    subscriber=owner username="privateUser1"
4    subscriber=owner username="privateUser2"
5    subscriber=owner username="pztuxy"
6    subscriber=owner username="klztt8xs"

According to the situation described above, customer owner is subscriber with two sub-customers: manager and reader. User accessibility can be shown in following table:

owner manager reader
differentUser +
publicUser1 + + +
publicUser2 + + +
privateUser1 + +
privateUser2 + +
pztuxy + +
klztt8xs +