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:

public VirtualUser VU { get; protected internal set; }

Field Value

The current VU instance.

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

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