Get if user is connected and get his name
Hello, can you help me ? i'm trying to find how to get if the user is connected and get his name and rank on Xenforo but i don't know how to do that, i setup my api.php file in the root of xen with my api key. I need the username for work with the api, i don't know how to obtain this. Sry for my bad english, Thanks in advance.
Hello, everything is explained in the documentation depending on what you want to get : https://github.com/Contex/XenAPI/wiki/REST-API-Actions
For examples of code, you can use this link for PHP : https://github.com/Contex/XenAPI/tree/master/net/xenapi/XenAPI/examples/php
Hope it's help you :)
Thanks for your help ^^ I try to get user info with the action getuser i don't know how to do that in php i have get the connexion with authenticated and login but i don't know hot t get all info of the user with the user hash. Sry for my bad english, Thanks in advance ^^