Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get if user is connected and get his name #79

Open
FreshTree opened this issue Aug 17, 2017 · 2 comments
Open

Get if user is connected and get his name #79

FreshTree opened this issue Aug 17, 2017 · 2 comments

Comments

@FreshTree
Copy link

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.

@valh1996
Copy link

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 :)

@FreshTree
Copy link
Author

FreshTree commented Aug 18, 2017

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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants