DOFCredentialscreate Method (DOFCredentials, DOFObjectIDDomain)OpenDOF Object Access Library
Construct a DOFCredentials with a target domain.

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

C#
public static DOFCredentials create(
	DOFCredentials initialCredentials,
	DOFObjectIDDomain targetDomain
)

Parameters

initialCredentials
Type: org.opendof.core.oalDOFCredentials
The intial credentials. This must not be null.
targetDomain
Type: org.opendof.core.oalDOFObjectIDDomain
The target domain. This must not be null or broadcast.

Return Value

Type: DOFCredentials
The new DOFCredentials.
Remarks

Construct a DOFCredentials with a target domain. These will attempt to resolve into the giTven domain, which may or may not involve remote domain resolution. If the initial credentials are in a different domain than the target domain, the fully resolved credentials will be the local node for that initiator in the target domain.
See Also

Reference