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
)
Public Shared Sub GetUsernameAndPassword (
g As IGraph,
objNode As INode,
allowCredentials As Boolean,
<OutAttribute> ByRef user As String,
<OutAttribute> ByRef pwd As String
)
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