Multi-valued attributes for user contact information¶
Multi-valued attributes can store more than one value. WSO2 Identity Server uses multi-valued attributes to associate multiple email addresses and mobile numbers with their profiles. For users with multiple values, they may also select a primary email address and a primary mobile number.
The following attributes are used for this purpose:
- Email Addresses
- Verified Email Addresses
- Mobile Numbers
- Verified Mobile Numbers
Exclude these attributes from a user store¶
If the secondary user store does not support the required schemas for these attributes, you can configure WSO2 Identity Server to store the attribute values in the identity store instead. See Select storage location for selected attributes for instructions.
Enable/Disable multiple emails and mobile numbers feature¶
To enable or disable the multiple email addresses or mobile numbers feature, enable or disable the corresponding attribute in the relevant profile.
- On the WSO2 Identity Server Console, navigate to User Attributes and Stores > Attributes.
- Under Manage Attributes, click Attributes to view the list of all attributes.
- Click Edit next to the corresponding attribute.
- Disable the Display checkbox from the profiles (Administrator Console, End-User Profile).
- Click Update to save the changes.