| Web Script: org/alfresco/test/runas.get |
| Generated from /share/service/script/org/alfresco/test/runas.get on Jun 13, 2026 9:37:49 PM |
| Script Properties | |
| Id: | org/alfresco/test/runas.get |
| Short Name: | Unit Test for Run As Function |
| Description: | Echo the name of the effective user |
| Authentication: | user |
| Transaction: | required |
| Method: | GET |
| URL Template: | /test/runas |
| Format Style: | argument |
| Default Format: | html |
| Negotiated Formats: | [undefined] |
| Implementation: | class org.alfresco.web.scripts.DeclarativeWebScript |
| Extensions: | [undefined] |
| [No implementation files] |
| File: org/alfresco/test/runas.get.desc.xml |
<webscript> <shortname>Unit Test for Run As Function</shortname> <description>Echo the name of the effective user</description> <format>argument</format> <url>/test/runas</url> <authentication runas="RunAsOne">user</authentication> <transaction>required</transaction> </webscript> |
| File: org/alfresco/test/runas.get.html.ftl |
${userName!"<notset>"} |
| File: org/alfresco/test/runas.get.js |
model.userName = person.properties.userName; |