-1

I am new to Boonex Dolphin and I want to get user data (userid, username, avatar and link) in javascript. How do I get this data in a javascript file? Are there any functions that provide the above data?

Mohit S
  • 13,723
  • 6
  • 34
  • 69
Abhimanyu Bind
  • 225
  • 3
  • 13

2 Answers2

0

Use getProfileInfo(); method and passing inside parameter as user id thats it.

David Yee
  • 3,515
  • 25
  • 45
0

There is no default function to get the profile info from javascript

You've 2 options

  1. Pass the ajax request to get the profile info
  2. pass the userInfo into the JS page , before loading
JK Pandian
  • 11
  • 4