User.InternalPrincipal Property


Gets or sets the principal object representing the current user.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

protected virtual IPrincipal InternalPrincipal { get; set; }

Property Value

Type: System.Security.Principal.IPrincipal

An IPrincipal object representing the current user.

In the User object, this property wraps the Thread.CurrentPrincipal property. Override this method in a derived class to provide different behavior. For example, the WebUser.InternalPrincipal property overrides this property.

.NET Framework
Available since 2.0
Return to top