Set User Security Pin Through Gateway Script

Is there a method for setting the user's security pin through scripting? We are able to add the users to a user source and set their information but would also like to set the security pin.

We are using version 8.1.38