Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Questionnaire setScriptImpersonationUser: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
Created page with "{{HelpFiles}} ==== Questionnaire_setScriptImpersonationUser<br/> ==== Set Impersonation user for running script on questionnaire '''Syntax''' Questionnaire_setScriptImpers..."
 
Nguyenduyan (talk | contribs)
No edit summary
 
Line 19: Line 19:


'''Example'''
'''Example'''
 
<source lang="javascript">
number questionnaireResourceId = 15546533;
number questionnaireResourceId = 15546533;
number userResourceId = 10768810;
number userResourceId = 10768810;
Questionnaire_setScriptImpersonationUser(questionnaireResourceId, userResourceId);
Questionnaire_setScriptImpersonationUser(questionnaireResourceId, userResourceId);
</source>


'''Availability'''
'''Availability'''


Version 7.0  
Version 7.0
[[Category:Questionnaire_Functions]]
[[Category:Questionnaire_Functions]]

Latest revision as of 08:07, 23 December 2016


Questionnaire_setScriptImpersonationUser

Set Impersonation user for running script on questionnaire

Syntax

Questionnaire_setScriptImpersonationUser(number questionnaireResourceId, number userResourceId);

Arguments

  • questionnaireResourceId: is a number expression. It is resource id of questionnaire
  • userResourceId: is a number expression. It is resource id of user

Return value

empty

Example

number questionnaireResourceId = 15546533;
number userResourceId = 10768810;
Questionnaire_setScriptImpersonationUser(questionnaireResourceId, userResourceId);

Availability

Version 7.0