RecroGridGetRecPermissionIdAsync Method

Returns the PermissionId found in the data record.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.4.1.24.0708.1
C#
protected virtual Task<int> GetRecPermissionIdAsync(
	Object dataRec,
	string objectKey = null
)

Parameters

dataRec  Object
The data record.
objectKey  String  (Optional)

Return Value

TaskInt32
If there is an ObjectPermissionId property in the record, its value is returned, otherwise it is 0.

See Also