---
lang: en
title: 'API docs: authentication.authenticateactionprovider.setcurrentuser'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authentication
permalink: /doc/en/lb4/apidocs.authentication.authenticateactionprovider.setcurrentuser.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticateActionProvider](./authentication.authenticateactionprovider.md) &gt; [setCurrentUser](./authentication.authenticateactionprovider.setcurrentuser.md)

## AuthenticateActionProvider.setCurrentUser property

<b>Signature:</b>

```typescript
readonly setCurrentUser: Setter<UserProfile>;
```

