Changing the User Preferences Programatically

I want to change a user preference (skin) of the user programatically. Is there an API which I can use to achieve this?

I think this is the API you need:

http://www.ajax-softwareag.com/articles/Y4LCDN/Caf-7-1-1JavaDocs/com/webmethods/portal/bizPolicy/biz/dir/IUserBizPolicy.html#setPortalStyle(com.webmethods.portal.bizPolicy.IContext,%20com.webmethods.portal.system.IURI,%20com.webmethods.portal.service.meta2.thing.IThingID)

(I think “skin” was originally called “style”.)

Justin