User Manager/User prefix

From MikroTik Wiki
Revision as of 06:53, 16 April 2007 by Normis (talk | contribs) (Reverted edit of AfpD2v, changed back to last version by Girts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 +