RecroGridGetRecPermissionIdAsync Method

Returns the PermissionId found in the data record.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.12.0.24.1213.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