Newer Version Available
ConnectApi.UserSettings Class
Settings specific to a user.
| Property | Type | Description | Available Version |
|---|---|---|---|
| approvalPosts | Boolean | User can approve workflows from Chatter posts. | 28.0 |
| canAccessPersonalStreams | Boolean | User can access personal stream feeds. | 40.0 |
| canFollow | Boolean | User can follow users and records. | 28.0 |
| canModifyAllData | Boolean | User has Modify all Data permission. | 28.0 |
| canOwnGroups | Boolean | User can own groups. | 28.0 |
| canViewAllData | Boolean | User has View all Data permission. | 28.0 |
| canViewAllGroups | Boolean | User has View all Groups permission. | 28.0 |
| canViewAllUsers | Boolean | User has View all Users permission. | 28.0 |
| canViewCommunitySwitcher | Boolean | User can see the community switcher menu. | 34.0 |
| canViewFullUserProfile | Boolean | User can see other user’s Chatter profile. | 28.0 |
| canViewPublicFiles | Boolean | User can see all files that are public. | 28.0 |
| currencySymbol | String | Currency symbol to use for displaying currency values. Applicable only when the ConnectApi.Features.multiCurrency property is false. | 28.0 |
| externalUser | Boolean | User is a Chatter customer. | 28.0 |
| fileSyncLimit | Integer | Maximum number of files user can sync. | 32.0 |
| fileSyncStorageLimit | Integer | Maximum storage for synced files, in megabytes (MB). | 29.0 |
| folderSyncLimit | Integer | Maximum number of folders user can sync. | 32.0 |
| hasAccessToInternalOrg | Boolean | User is a member of the internal org. | 28.0 |
| hasChatter | Boolean | User has access to Chatter. | 31.0 |
| hasFileSync | Boolean | User has Sync Files permission. | 28.0 |
| hasFieldServiceLocationTracking | Boolean | User has Field Service Lightning GPS tracking enabled. | 41.0 |
| hasFieldServiceMobileAccess | Boolean | User has access to the Field Service Lightning mobile app. | 41.0 |
| hasFileSyncManagedClientAutoUpdate | Boolean | Administrator for the user’s org allows file sync clients to update automatically. | 34.0 |
| hasRestDataApiAccess | Boolean | User has access to REST API. | 29.0 |
| timeZone | ConnectApi.TimeZone | The user's time zone as selected in the user’s personal settings in Salesforce. This value does not reflect a device's current location. | 30.0 |
| userDefaultCurrencyIsoCode | String | The ISO code for the default currency. Applicable only when the ConnectApi.Features.multiCurrency property is true. | 28.0 |
| userId | String | 18-character ID of the user. | 28.0 |
| userLocale | String | Locale of user. | 28.0 |