Impersonation macro. Executes the embedded Sxml under the credentials of the specified user.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:impersonate> <se:parameters> <se:parameter name="username"> </se:parameter> <se:parameter name="password"> </se:parameter> <se:parameter name="xml"> </se:parameter> </se:parameters> </se:impersonate> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
Password | String |
IsRequired
Trim |
Sets the password. |
UserName | String |
IsRequired
Trim |
Sets the name of the user. |
Xml | String |
RawData
IsRequired |
Sets the XML. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |