How to modify Notification Center Configuration for users by script ?

In order to be sure to have same configuration in Notification Center, I would like to have a script to modify some options, like mail on issues, tasks and so on. 

Could you help me to know how is stored such information in database ?

Thanks