# User

## Get User Info[​](http://localhost:3000/libraries/javascript/sdk/api/user#get-user-info) <a href="#get-user-info" id="get-user-info"></a>

Obtain technical information of the current app user. Returns a result object containing multiple properties.

```javascript
import { getUserInfo } from '@myjsblock/sdk'

getUserInfo().then(userInfo => {
    console.log(userInfo);

   // userInfo.deviceId <== deviceId
   // userInfo.userAccountId <== userAccountId
   // userInfo.email <== email
   // userInfo.authorizationLevel <== authorizationLevel

});
```

#### Properties[​](http://localhost:3000/libraries/javascript/sdk/api/user#properties) <a href="#properties" id="properties"></a>

<table><thead><tr><th width="258">Property</th><th width="96.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>deviceId</code></td><td><em>String</em></td><td>ID unique to this device</td></tr><tr><td><code>applicationAccountId</code></td><td><em>String</em></td><td>Account ID of the currently signed in user</td></tr><tr><td><code>email</code></td><td><em>String</em></td><td>Account email address of the currently signed in user</td></tr><tr><td><code>authorizationLevel</code></td><td><em>String</em></td><td>User role of the currently signed in user</td></tr></tbody></table>

<br>
