How to keep global settings for plugin and global settings for users?

I have a problem. How to keep any specific data in ACT! database? Any global settings for all users, or settings for any specific user, but in common place in database? Is any object or function in SDK? Is any possibility to set this kind of data?