Base solution for your next web application
Open Closed

Reset Setting via SettingManger #1876


User avatar
0
andmattia created

Hi try to delete/reste a user setting await SettingManager.ChangeSettingForUserAsync(userIdentifier, "ipAll", "*");

"*" is the deafault value for tenat but if I do that i create a * for user not remove. I need to set to equal value for tentat?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You are doing it right, it must reset/delete the setting for user if default value for his/her tenant is *. Can you call SettingManager.GetSettingValueForTenantAsync to check the setting value for tenant ? Maybe it returns something else.