---
lang: en
title: 'API docs: authentication-jwt.myuserservice.converttouserprofile'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/authentication-jwt
permalink: /doc/en/lb4/apidocs.authentication-jwt.myuserservice.converttouserprofile.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication-jwt](./authentication-jwt.md) &gt; [MyUserService](./authentication-jwt.myuserservice.md) &gt; [convertToUserProfile](./authentication-jwt.myuserservice.converttouserprofile.md)

## MyUserService.convertToUserProfile() method

**Signature:**

```typescript
convertToUserProfile(user: User): UserProfile;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  user | [User](./authentication-jwt.user.md) |  |

**Returns:**

[UserProfile](./security.userprofile.md)


