Questionnaire setScriptImpersonationUser
Revision as of 09:06, 23 December 2016 by Nguyenduyan (talk | contribs) (Created page with "{{HelpFiles}} ==== Questionnaire_setScriptImpersonationUser<br/> ==== Set Impersonation user for running script on questionnaire '''Syntax''' Questionnaire_setScriptImpers...")
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