Get user info
The Salesforce get user info action retrieves information about a Salesforce user by their User ID. This is a read-only action that can return details about a specific user or the current authenticated user, optionally including their permissions.
Prerequisites
-
Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.
-
Users must authenticate for Salesforce actions on first use.
-
The Salesforce integration user must have permission to read user records and permission-related data.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| User ID | String | The Salesforce User ID to retrieve information for. If not provided, returns information about the current authenticated user. Optional. |
| Include permissions | Boolean | Whether to include user permissions in the response. When enabled, makes additional API calls to retrieve permission details. Optional. |
Usage examples
-
"Get information about the current authenticated Salesforce user including their permissions."
-
"Retrieve details for Salesforce user ID 0055g0000098ABC."
-
"Show me user information and permission level for user 0055g0000099XYZ."