1

JS API: Get User Information

(20/10/2012 14:52:46 отредактировано unitedsecurity)

Тема: JS API: Get User Information

hello  developers... how i can get user information with wialon.get.User  ? for example i need get user id or user permissions or user costum fields all what i can get. thanks.

Великий и ужасный Гиоргий Каладзе
2

JS API: Get User Information

Re: JS API: Get User Information

All the methods and properties of user you can find here: http://docs.gurtam.com/api/hosting/#wialon.item.Item and here: http://docs.gurtam.com/api/hosting/#wialon.item.User or  you can simply watch it in your console:
                    var users = wialon.core.Session.getInstance().getItems("user");
            if(users[0])
            console.log(users[0]);

Development Department
Gurtam