GeneratedUserData Class
Namespace
Usage
The Auth.GeneratedUserData class stores the output of this action. Use the output as an Apex-defined variable in the flow. When you create a user, reference specific properties from this class to set values for required fields.
For more information, see these resources in Salesforce Help.
GeneratedUserData Constructors
The following are constructors for GeneratedUserData.
GeneratedUserData(firstName, lastName, email, username, alias, languageLocaleKey, localesIdKey, emailEncodingKey, timeZoneSidKey)
Signature
public GeneratedUserData(String firstName, String lastName, String email, String username, String alias, String languageLocaleKey, String localesIdKey, String emailEncodingKey, String timeZoneSidKey)
Parameters
- firstName
- Type: String
- Stores a generated placeholder value for the user's first name. The generated value is placeholder-first-name.
- lastName
- Type: String
- Stores a generated placeholder value for the user's last name, also known as family name. The generated value is placeholder-last-name.
- Type: String
- Stores a generated placeholder value for the user's email address. The generated value is placeholder-email@example.com.
- username
- Type: String
- Stores a generated placeholder value for the user's username. The generated value is placeholder-username<unique 14-character number>@example com, such as placeholder-username17370000000000@example com.
- alias
- Type: String
- Stores a generated placeholder value for the user's alias. The generated value is alias.
- languageLocaleKey
- Type: String
- Stores the default value for the user's language, such as en_US for English. The default value is the language for the registration handler execution user. The execution user is specified in the Run As field in the authentication provider definition.
- localesIdKey
- Type: String
- Stores the default value for the user's locale, defined using two-letter International Organization for Standardization (ISO) codes. For example, en_US indicates English (United States). The default value is the language for the registration handler execution user. The execution user is specified in the Run As field in the authentication provider definition.
- emailEncodingKey
- Type: String
- Stores the default value for the email encoding type for the user, such as UTF-8. The email encoding type determines how Salesforce encodes characters in outgoing emails. The default value is the email encoding key for the registration handler execution user. The execution user is specified in the Run As field in the authentication provider definition.
- timeZoneSidKey
- Type: String
- Stores the default value for the user's time zone, such as GMT-07:00) Pacific Daylight Time (America/Los_Angeles). The time zone is defined using region and key city according to ISO standards. The default value is the time zone for the registration handler execution user. The execution user is specified in the Run As field in the authentication provider definition.
GeneratedUserData Properties
The following are properties for GeneratedUserData.
alias
Signature
public String alias {get; set;}
Property Value
Type: String
Signature
public String email {get; set;}
Property Value
Type: String
emailEncodingKey
Signature
public String emailEncodingKey {get; set;}
Property Value
Type: String
firstName
Signature
public String firstName {get; set;}
Property Value
Type: String
languageLocaleKey
Signature
public String languageLocaleKey {get; set;}
Property Value
Type: String
lastName
Signature
public String lastName {get; set;}
Property Value
Type: String
localesIdKey
Signature
public String localesIdKey {get; set;}
Property Value
Type: String
timeZoneSidKey
Signature
public String timeZoneSidKey {get; set;}
Property Value
Type: String
username
Signature
public String username {get; set;}
Property Value
Type: String