Click or drag to resize

ProcessControllerCheckAssigneeConstraints Method (Int32, Int32, SqlConnection, SqlTransaction)

Checks whether an assignee constraint prevents an activity from being completed by a given user. Returns true, if the user IS allowed to complete the activity.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static bool CheckAssigneeConstraints(
	int activityId,
	int userId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

activityId
Type: SystemInt32
The activity id.
userId
Type: SystemInt32
The user id.
dbConnection
Type: System.Data.SqlClientSqlConnection
The db connection.
dbTransaction
Type: System.Data.SqlClientSqlTransaction
The db transaction.

Return Value

Type: Boolean
True, if the user IS allowed to complete the activity
See Also