Click or drag to resize

ConfigurationLoaderGetUsernameAndPassword Method

Gets the Username and Password specified for a given Object.

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void GetUsernameAndPassword(
	IGraph g,
	INode objNode,
	bool allowCredentials,
	out string user,
	out string pwd
)

Parameters

g
Type: VDS.RDFIGraph
Configuration Graph.
objNode
Type: VDS.RDFINode
Object Node.
allowCredentials
Type: SystemBoolean
Whether settings may be specified using the dnr:credentials property.
user
Type: SystemString
Username.
pwd
Type: SystemString
Password.
Remarks
Username and/or Password will be null if there is no value specified for the relevant properties.
See Also