# bridge. getUserId
Get the userId of the current user (actually openId).

## output
Promise string.
## sample code
### call example

```js
const res = await bitable.bridge.getUserId();
```

### return example
res:
```js
'xxxxxxxxxxxxxxx'
```