Click or drag to resize

PFExternalConnection_BindingsAddUser Method

Adds a new binding targeting a user field.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public PFExternalConnection_Binding_User AddUser(
	PFField field,
	string targetName,
	string targetId = "",
	PFExternalConnection_BindingSyncType syncType = PFExternalConnection_BindingSyncType.ReadOnly,
	string valueSeparator = ";",
	bool useCache = true,
	PFExternalConnection_Binding_PrincipalType princpalType = PFExternalConnection_Binding_PrincipalType.Users,
	string constantValue = null
)

Parameters

field
Type: Packflow.CorePFField
The bound Packflow field.
targetName
Type: SystemString
The name of the target (external) field/column.
targetId (Optional)
Type: SystemString
The id of the target (external) field/column. Optional.
syncType (Optional)
Type: Packflow.CorePFExternalConnection_BindingSyncType
Type of synchronization (from and/or to the external source). Optional.
valueSeparator (Optional)
Type: SystemString
A text separating multiple values (of the external source) of choice or user fields. Optional.
useCache (Optional)
Type: SystemBoolean
Value indicating whether a cache for referenced values can be used during a synchronization.
princpalType (Optional)
Type: Packflow.CorePFExternalConnection_Binding_PrincipalType
A value indicating which type of principals are referenced.
constantValue (Optional)
Type: SystemString
A value applied on synchronized items, replacing the external data. Optional.

Return Value

Type: PFExternalConnection_Binding_User
PFExternalConnection_Binding
See Also