Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.3K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QAS anonymize: Difference between revisions

From Catglobe Wiki
No edit summary
Nguyenduyan (talk | contribs)
No edit summary
Line 2: Line 2:
==== QAS_anonymize  ====
==== QAS_anonymize  ====


Set QASs's user to Not specified.
Delete answers (including open and grid answers) for questions marked Identity or Sensitive


Same with QAS.UserResourceId = 0. Not delete sensitive, special or identified qas data
And remove respondent user references from the QAS


'''Syntax'''
'''Syntax'''


QAS_anonymize(array answerSheetIds)  
QAS_anonymize(array QASIds)  


'''Arguments'''
'''Arguments'''


answerSheetIds: array answer sheet Id
QASIds: List of qas ids


'''Return type'''
'''Return type'''


Array qas that qas NOT anonymized.
Returns the QAS ids that were not anonymized because they do not exist or write access was denied


'''Example'''
'''Example'''
<source lang="csharp">
<source lang="csharp">
array answerSheetIds={28415738,28415739,28415740};
array QASIds={28415738,28415739,28415740};
QAS_anonymize(answerSheetIds);  
QAS_anonymize(QASIds);  
</source>
</source>

Revision as of 02:25, 11 November 2026

QAS_anonymize

Delete answers (including open and grid answers) for questions marked Identity or Sensitive

And remove respondent user references from the QAS

Syntax

QAS_anonymize(array QASIds)

Arguments

QASIds: List of qas ids

Return type

Returns the QAS ids that were not anonymized because they do not exist or write access was denied

Example

array QASIds={28415738,28415739,28415740};
QAS_anonymize(QASIds);