Each establishment (a Cyber, LanCenter, ESports Center) has its own server installed.
A establishment can belong to a ‘clan’, in other words, several establishments can have linked policies (franchises, a syndicate, the maffia, etc.), so, they configures their servers to work synchronized.
Under this context, an end user can do Login writing UserName@MemberName and the password. But if the end user account is local to the target server, the @MemberName must be omitted writing only the UserName. So, if MemberName == LocalMemberName, it must be omitted in the login.
This function returns all possible MemberNames separated by comma punctuation, so, in a nice frontend the user can chose a MemberName instead of typing it.
If the target server doesn’t belong to a clan, it returns a null string.
Minimum version for the target server required: v17.0.60
Input parameters:
- CommandClass = _GETCLANMEMBERS
- Param1 = CyberName.
Output:
[{“ResponseClass”: “ERROR”, “Param1”: “mensaje”, … }]
[{“ResponseClass”: “OK”, “Param1”: “MemberName1,MemberName2,MemberName3…”, “Param2”: “LocalMemberName”, “Param3”: “Long ClanName”}]
Example of usage:
https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_GETCLANMEMBERS&Param1=flulpycrea