> For the complete documentation index, see [llms.txt](https://docs.medable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.medable.com/cortex-api/decorators/runtime-1/as.md).

# As

Run a class method as another principal or service account. In effect, wrapping the method in a `script.as()` call.
