Creates a principal object which represents the security context of the user on whose behalf the test is running.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
protected abstract IPrincipal CreatePrincipal()
Visual Basic (Declaration)
Protected MustOverride Function CreatePrincipal As IPrincipal

Return Value

A principal object.

See Also