UserCredentialsFromXml Method
Create a user credentials instance from an XML element
Namespace: SandcastleBuilder.Utils.BuildComponentAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public static UserCredentials FromXml(
XElement configuration
)
Public Shared Function FromXml (
configuration As XElement
) As UserCredentials
public:
static UserCredentials^ FromXml(
XElement^ configuration
)
static member FromXml :
configuration : XElement -> UserCredentials
- configuration XElement
- The XML element from which to obtain the settings
UserCredentialsA
UserCredentials object containing the settings from the XPath navigator
It should contain an element called userCredentials with three attributes:
useDefault, userName, and password.