Sitecore.Form.Submit.UserBaseAction class
The Sitecore.Form.Submit.UserBaseAction class lets you manage users’ accounts.
The Sitecore.Form.Submit.UserBaseAction
class lets you manage users’ accounts. The Sitecore.Form.Submit.UserBaseAction
class contains the following methods:
Method | Description |
---|---|
| Formats a username (replaces “.” with “_dot_” and “@” with “_at_”). |
| Ensures that a username contains a domain name. |
| Gets a profile property value by its name. |
| Returns a username if the user with the specified name exists, otherwise returns null. |
| Returns a valid username based on the specified one. |
| Returns a username if the user exists or was created (depending on the |
| Sets the user mail if the specified email is valid. |
| Updates the analytics global session with the specified user. |
| Creates a user with the specified name and password if none exists. If the Password property value is blankPassword, the user is created with a blank password, if the value is randomPassword, a random password is generated. This method also sets the profile item ID for the created user. |
| Sets the profile property value. |
The Sitecore.Form.Submit.UserBaseAction
class contains the following properties:
Property | Description |
---|---|
| Indicates whether the analytics global session must be updated with the user information. This property is checked in the UpdateGlobalSession method. |
| It is only used in derived types. |
| Specifies the domain name. |
| Specifies if the password field name can contain special values. |
| Sets or gets the ID of the user profile item. |
| Sets or gets the name of the web form field that contains a username. |
| Sets or gets the exception message that is thrown if a username is empty. |