Is the MT5 login globally unique across different brokers?

 
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just the login.
 
Witold Lech Czarnecki:
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just the login.
Login numbers are not guaranteed to be globally unique across all MT5 brokers. It's safer to assume logins are only unique within a single broker. Therefore, need to act accordingly.
 
Witold Lech Czarnecki:
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just the login.

Hash the login , broker name and demo or live acct to create a unique identifier in your site (which is what you are looking for ig)

 

Witold Lech Czarnecki:
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just the login

You can have same login and password with all your brokers, however, I believe that mt4/5 saves those logins as unique ids and/or are encrypted thus on each terminal, therefore database keys will most likely be invalidated if you try to use keys in the wrong or different terminals.

EDIT: and just guessing: I guess that the brokers server address would become part of that encrypted key.

PS. If you discover different, then, please come back here to report your findings.
 
Witold Lech Czarnecki:
Can the same login theoretically be repeated with different brokers? I see symptoms suggesting that the login is globally unique, but I can't find confirmation of this. I store data from various MT5 accounts, and this knowledge would allow me to shorten the database keys from (server, login) to just the login.

I'm pretty sure, you need the full keys (server, login). How would you login without a server?