Difference between revisions of "User getQasUser"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor)
 
Line 4: Line 4:
 
====User_getQasUser====
 
====User_getQasUser====
  
Get the current answer sheet's user
+
Get the current answer sheet's user. Run in qas context, else will get error No resource project questionnaire specified for the interpreter, call to the function 'User_getQasUser' failed.
  
 
'''Syntax'''
 
'''Syntax'''

Latest revision as of 03:00, 6 September 2019



User_getQasUser

Get the current answer sheet's user. Run in qas context, else will get error No resource project questionnaire specified for the interpreter, call to the function 'User_getQasUser' failed.

Syntax

User_getQasUser()

Arguments

None

Return value

An array, it is the user object array, which has the same format as what generated by User_new

Example

array user = User_getQasUser();

Availability

Version 5.6