Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Returns the current principal associated with this request.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public ReadOnly Property User As IPrincipal
Get
'Usage
Dim instance As ApiController
Dim value As IPrincipal
value = instance.User
public IPrincipal User { get; }
public:
property IPrincipal^ User {
IPrincipal^ get ();
}
member User : IPrincipal
function get User () : IPrincipal
Property Value
Type: System.Security.Principal.IPrincipal
The current principal associated with this request.