RecroSecGetPermissionsForUser(String, String, Int32, Object, NullableInt32) Method

Gets the permissions for the specified User.

Definition

Namespace: Recrovit.RecroGridFramework.Security
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
C#
public static UserPermissions GetPermissionsForUser(
	string userId,
	string objectName,
	int objectKey,
	Object target = null,
	int? objectPermissionId = null
)

Parameters

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

Return Value

UserPermissions
The permissions.

See Also