Click or drag to resize
Sandcastle Help File BuilderUserCredentialsToXml Method
Store the credentials as a node in the given XML document

Namespace: SandcastleBuilder.PlugIns
Assembly: SandcastleBuilder.PlugIns (in SandcastleBuilder.PlugIns.dll) Version: 2014.11.22.0
Syntax
public XmlNode ToXml(
	XmlDocument config,
	XmlNode root
)

Parameters

config
Type: System.XmlXmlDocument
The XML document
root
Type: System.XmlXmlNode
The node in which to store the element

Return Value

Type: XmlNode
Returns the node that was added or the one that already existed in the document
Remarks
The credentials are stored in an element called userCredentials with three attributes: useDefault, userName, and password. It is created if it does not already exist.
See Also