UserCredentials.FromXml Method
Definition
- Assembly
- Sandcastle.Core.dll
Create a user credentials instance from an XML element
public static UserCredentials FromXml(XElement configuration)
Parameters
configurationXElementThe XML element from which to obtain the settings
Returns
- UserCredentials
A UserCredentials object containing the settings from the XPath navigator
Remarks
It should contain an element called userCredentials with three attributes:
useDefault, userName, and password.