@jcribb as far as I remember the client script will always run under the role of the current user, I've not checked this in quite some time though. I'd love to be proved wrong though as being able to run client scripts as admin would save a lot of hassle in some cases.