User info

On Socialcube there are 4 types of users:

  • Admins
  • Institution Admin
  • Teachers
  • Students

These types can be identified by their user type id.

User Type ID
Socialcube Admin 0
Institution Admin 1
Teacher 2
Student 3

The only one that needs explanation is the institution admin. This person is usually a teacher but also the one, who first requested access to Socialcube for their institution (school, university, etc..).

You can handle them as teachers but might also give them more permissions since they are sort of the school-admins.

Keep in mind to check if a user is a student or not. Only students can earn XP.

Get user type

Attribute Value
Answer: Admin {"STATUS":"OK","ANSWER":"0"}
Answer: Student {"STATUS":"OK","ANSWER":"3"}
Answer: Teacher {"STATUS":"OK","ANSWER":"2"}

Get email of user

Attribute Value
Answer {"STATUS":"OK","ANSWER":"users@mail.addr"}

results matching ""

    No results matching ""