---
schema_version: "1"
id: 33b1d2a532a822687c71cf781312507df770fd70b4030efea5ccbeafc84d1aed
title: "Interface: User"
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-functions/functions/guide/nodesdk/interfaces/user.md
canonical_url: https://developer.salesforce.com/docs/platform/functions/guide/user.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cc7805fe7d79cae166936d814354d4c3b291fc5ae1e01bb4ad164d2325f7d69e
products:
  - Salesforce Functions
---
[sf-fx-runtime-nodejs](https://developer.salesforce.com/docs/platform/functions/NODE_README.md) / User

# Interface: User

Holds information about the invoking Salesforce user.

## Properties

### id

The user's ID.

• `Readonly` **id**: _string_


---

### onBehalfOfUserId

The id of the user this user operates in behalf of.

• `Optional` `Readonly` **onBehalfOfUserId**: _string_


---

### username

The name of the user.

• `Readonly` **username**: _string_

