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

Gets the permissions for the specified User.

Definition

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

Parameters

userId  String
The User identifier.
objectName  String
Object name from object permission.
objectKey  String  (Optional)
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