UsersSettings¶
The UsersSettings object represents settings for users in the storefront.
classDiagram
direction LR
class UsersSettings{
bool isRegistrationEnabled
bool isFullRegistrationMode
?int registrationType
}
Properties¶
| Attribute name | Type | Description |
|---|---|---|
| isRegistrationEnabled | bool |
Returns true if registration is enabled. |
| isFullRegistrationMode | bool |
Returns true if full registration mode is enabled. |
| registrationType | int| null |
Returns null if registration type is disabled. Returns an integer (0, 1, or 2) indicating the registration type set in the admin panel. |