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