First you need your table.
create table user_settings ( user_id nvarchar(256) not null, keyword nvarchar(64) not null, constraint PK_user_settings primary key (user_id, keyword), value nvarchar(max) not null )
Then you can create your API:
public string GetUserSetting(string keyword, string defaultValue); public void SetUserSetting(string keyword, string value);
If you are already developing CRUD (which I assume from the existence and availability of the database), then this should be trivially easy to implement.
source share