Posted: Wed Mar 10, 2010 4:51 pm Post subject: Additional webservices
Hi,
at first thanks to the team. Gamecreate is my favorite game administration tool. Yesterday I implemented some basic webservices to my site (start, stop, restart server etc.) and come up against some "limitations".
Is it possible to:
- Get a list of accessible (subdomains) and servers for a user?
- Show the current running game(s) on a domain?
I already tried that but wasn't able to get it working. What I want to do:
User "john" logs in to my website. He should then see a list of servers and subdomains where he has access to.
When john does not have access to the "main domain" but only to subdomains the function "GetSubDomainList" returns just an empty result.
I'm currently creating my own database to store the xref information "username", "domainid", "serverid". But this is just an ugly workaround because the information are already in your system
Also you can't query GameCreate for a list of permissions (that GetSubDomaniList web service requires Read Domain access to query) at this time.
If you keep track of what Server IDs a person has access to (eg, in a rental environment) you can better create your own GUI.
Quote:
I'm currently creating my own database to store the xref information "username", "domainid", "serverid". But this is just an ugly workaround because the information are already in your system
Why do you want to do that?
Remember you can also just integrate the entire GC website into yours (see the Download link for more info on the left).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum