UserCredentialsFromXml Method

Create a user credentials instance from an XML element

Definition

Namespace: Sandcastle.Core.BuildAssembler.BuildComponent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.9.30.0
public static UserCredentials FromXml(
	XElement configuration
)

Parameters

configuration  XElement
The XML element from which to obtain the settings

Return Value

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.

See Also