Sets the value of the authentication credential type to the string data.
type is one of the VncConnectionCredential enum vlaues
| this |
the VNC display widget |
| type |
the authentication credential type |
| data |
the value associated with the credential |
|
TRUE if an error occurs, FALSE otherwise |