RecroGridGetRecPermissionIdAsync Method

Returns the PermissionId found in the data record.

Definition

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

Parameters

dataRec  Object
The data record.
objectKey  String  (Optional)

[Missing <param name="objectKey"/> documentation for "M:Recrovit.RecroGridFramework.RecroGrid.GetRecPermissionIdAsync(System.Object,System.String)"]

Return Value

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

See Also