Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApiController.User Property

 

Returns the current principal associated with this request.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public IPrincipal User { get; set; }

Property Value

Type: System.Security.Principal.IPrincipal

The current principal associated with this request.

Return to top
Show: