User CredentialsFrom Xml Method
Create a user credentials instance from an XML element
Definition
Namespace: Sandcastle.Core.BuildAssembler.BuildComponent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
A UserCredentials object containing the settings from the XPath navigator
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static UserCredentials FromXml(
XElement configuration
)VB
Public Shared Function FromXml (
configuration As XElement
) As UserCredentialsC++
public:
static UserCredentials^ FromXml(
XElement^ configuration
)F#
static member FromXml :
configuration : XElement -> UserCredentials Parameters
- configuration XElement
- The XML element from which to obtain the settings
Return Value
UserCredentialsA UserCredentials object containing the settings from the XPath navigator
Remarks
It should contain an element called userCredentials with three attributes:
useDefault, userName, and password.