DOFServerConfigBuilderaddCredentials Method (ICollectionDOFCredentials)OpenDOF Object Access Library
Add credentials to the server.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFServerConfigBuilder addCredentials(
	ICollection<DOFCredentials> credentials
)

Parameters

credentials
Type: System.Collections.GenericICollectionDOFCredentials
The credentials for this server. Must not be null.

Return Value

Type: DOFServerConfigBuilder
The builder.
Remarks

Add credentials to the server. Additional credentials must be in a different domain in order to be added. Adding a credential that has the same domain of a credential that was already added will result in the original credential being overwritten with the new one.
See Also

Reference