Click or drag to resize

RecroSecGetObjectPermission Method

Gets the object permission.

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

Parameters

userId
Type: SystemString
The User identifier.
objectName
Type: SystemString
Object name from object permission.
objectKey (Optional)
Type: SystemObject
Key of the data object.
target (Optional)
Type: SystemObject
Target data object.
objectPermissionId (Optional)
Type: SystemNullableInt32
Hint object permission id.

Return Value

Type: ObjectPermission
The ObjectPermission.
See Also