Methods
(static) execute(fn)
Parameters:
| Name | Type | Description |
|---|---|---|
fn |
function | A function fn(context) that is going to be invoked in current context |
(static) executeAs(userName, fn)
Parameters:
| Name | Type | Description |
|---|---|---|
userName |
string | |
fn |
function | A function fn(context) that is going to be invoked in current context |