More actions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
User_getCallingLoggedInUser(); | User_getCallingLoggedInUser(); | ||
//{5,15645091,CAT161299666,1847,,False,0,False,{},{1,1,1,0,0,0,0,1,36},{1,1,1,0,0,0,0,1,36},en-GB,en-GB,,,,,DKK,,0,36,,,,,,,,False,False,,15645051,3d7e6d64-4d5f-4c9c-842a-d2c0fd58928f} | |||
</source> | </source> | ||
'''Note''' | |||
For more detail about which user be returned on each case of answer sheet link. [[Questionnaire links#Return values for CgScript functions|Look here]] | For more detail about which user be returned on each case of answer sheet link. [[Questionnaire links#Return values for CgScript functions|Look here]] |
Revision as of 08:00, 27 March 2019
User_getCallingLoggedInUser
Syntax
User_getCallingLoggedInUser();
Arguments
None
Return type
An array, it is the user object array, which has the same format as what generated by User_new
Example
User_getCallingLoggedInUser();
//{5,15645091,CAT161299666,1847,,False,0,False,{},{1,1,1,0,0,0,0,1,36},{1,1,1,0,0,0,0,1,36},en-GB,en-GB,,,,,DKK,,0,36,,,,,,,,False,False,,15645051,3d7e6d64-4d5f-4c9c-842a-d2c0fd58928f}
Note For more detail about which user be returned on each case of answer sheet link. Look here