RecroGridGetPermissions Method

Gets the current user's permissions for the given object associated with the specified parameters.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.6.0.24.0816.1
C#
protected virtual UserPermissions GetPermissions(
	string objectName,
	string objectKey = null,
	Object dataRec = null,
	int? objectPermissionId = null
)

Parameters

objectName  String
Name of the object.
objectKey  String  (Optional)
You need to provide the object identifier, or if it is at the objectName field level, the ObjectPermissionId associated with the objectName. If not specified, it will search for the parent based on the name.
dataRec  Object  (Optional)
The data record.
objectPermissionId  NullableInt32  (Optional)
The object permission identifier.

Return Value

UserPermissions
The Permissions.

See Also