Profile
1. Profile
Profile class contains all user-related features and restrictions against the selected profiles. Most of the functions under this class are related to setting up values against profiles, documents, and relevant associations.
1.1. loadFromJson
This function loads profile configuration with a provided JSON string.
Declaration
public void loadFromJson(string jsonStr)
Here are the input and output parameters defined against this function.
Type (In/Out) | Name | Description |
---|---|---|
System.string - [In] | jsonStr | - This parameter contains JSON string containing profile information. |
1.2. setProfile
This function saves the profile with all the provided configurations.
Declaration
public void setProfile(object? profile)
Here are the input and output parameters defined against this function.
Type (In/Out) | Name | Description |
---|---|---|
System.object- [In] | profile | This parameter includes all pre-loaded profile configurations built up for the KYC-related values. |
Updated about 2 years ago