Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
EmployeeUserSettings
File Suffix and Directory Location
A EmployeeUserSettings component file has the suffix .settings and is stored in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.
Version
EmployeeUserSettings components are available in API version 50.0 and later.
Special Access Rules
Access to the EmployeeUserSettings type requires the Workplace Command Center permission set license available in the org and assigned to the user. The WorkplaceCommandCenterUser scratch org feature must also be enabled in the org.
Fields
Declarative Metadata Sample Definition
1<?xml version="1.0" encoding="UTF-8"?>
2<EmployeeUserSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3<emailEncoding>ISO-8859-1</emailEncoding>
4<enableEmployeeAutoCreateUser>true</enableEmployeeAutoCreateUser>
5<enableEmployeeIsSourceOfTruth>false</enableEmployeeIsSourceOfTruth>
6<profile>MarketingProfile</profile>
7<usernameSuffix>example.com</usernameSuffix>
8</EmployeeUserSettings>1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3<types>
4<name>Settings</name>
5<members>EmployeeUser</members>
6</types>
7<version>50.0</version>
8</Package>