VirtualUserScript VU Property C# API
Gets the current VU instance, as the most specialised subclass of VirtualUser.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.4.0.26
Syntax

public VirtualUser VU { get; protected internal set; }

Field Value

The current VU instance.
Remarks

If you have added methods to a custom Virtual User subclass, you can call them on the object returned from this method.
Examples

The following example demonstrates calling a custom method on a customised subclass of VirtualUser from within the Script  method.
MyCustomUser thisVU = this.VU;
thisVU.MyCustomOperation();
See Also