OwinRequest.User Property

Gets or sets the user name for this request.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Overridable Property User As IPrincipal 
    Get 
    Set
'Usage
Dim instance As OwinRequest 
Dim value As IPrincipal 

value = instance.User

instance.User = value
public virtual IPrincipal User { get; set; }
public:
virtual property IPrincipal^ User {
    IPrincipal^ get ();
    void set (IPrincipal^ value);
}
abstract User : IPrincipal with get, set 
override User : IPrincipal with get, set
function get User () : IPrincipal 
function set User (value : IPrincipal)

Property Value

Type: System.Security.Principal.IPrincipal
The user name for this request.

Implements

IOwinRequest.User

See Also

Reference

OwinRequest Class

Microsoft.Owin Namespace