Serializes this instance of the UserCredentials class.ParameterswriterType: System.Xml.XmlWriterAn instance of the XmlWriter to which to serialize.