RecroGridGetRecPermissionIdAsync Method

Returns the PermissionId found in the data record.

Definition

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