RecroSecGetObjectPermission Method

Gets the object permission.

Definition

Namespace: Recrovit.RecroGridFramework.Security
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.11.0.24.1208.1
C#
public static ObjectPermission GetObjectPermission(
	string userId,
	string objectName,
	Object objectKey = null,
	Object target = null,
	int? objectPermissionId = null
)

Parameters

userId  String
The User identifier.
objectName  String
Object name from object permission.
objectKey  Object  (Optional)
Key of the data object.
target  Object  (Optional)
Target data object.
objectPermissionId  NullableInt32  (Optional)
Hint object permission id.

Return Value

ObjectPermission
The ObjectPermission.

See Also