wrtc.changeCredentials() changes the user's adress, displayname, password and other credentials and reinitializes its connection to the IXNX server.
You can either supply the new credentials in a JSON structure as argument to wrtc.changeCredentials(), or first set wrtc user credential properties manually, then call wrtc.changeCredentials() without arguments to reinitialize IXNX server connection.
wrtc.changeCredentials(credentials)
Missing entries will keep old value unchanged.
Nothing.
wrtc.changeCredentials() itself does not create any events but the reinialization of the connection to the IXNX server will result in one or more of these events:
wrtc.changeCredentials({addressName:"foo@bar.com", displayName:"John Doe"});
changes user's address to foo@bar.com and display name to John Doe. All other settings remain unchanged.