This short code example shows how to change the user that is used in a Web Services call. The exmple here is for the native endpoint, but the other calls are similar.