Partager via


IRequest.User Property

.NET Framework 4

Gets security information for the current HTTP request.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
ReadOnly Property User As IPrincipal 
    Get
'Usage
Dim instance As IRequest 
Dim value As IPrincipal 

value = instance.User
IPrincipal User { get; }
property IPrincipal^ User {
    IPrincipal^ get ();
}
abstract User : IPrincipal
function get User () : IPrincipal

Property Value

Type: System.Security.Principal.IPrincipal

See Also

Reference

IRequest Interface

Microsoft.AspNet.SignalR Namespace