Difference between revisions of "User getQasUser"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

+
{{HelpFiles}}
  
 
====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'''
Line 16: Line 16:
 
'''Return value'''
 
'''Return value'''
  
An ''array'', it is the user object array, which has the same format as what generated by User_new
+
An ''array'', it is the user object array, which has the same format as what generated by [[User_new]]
  
 
'''Example'''
 
'''Example'''
Line 25: Line 25:
  
 
Version 5.6
 
Version 5.6
 +
 
__NOTOC__
 
__NOTOC__
 
<!-- imported from file: 6286.htm-->
 
<!-- imported from file: 6286.htm-->

Latest revision as of 04: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