RecroSecGetObjectPermission Method

Gets the object permission.

Definition

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