Click or drag to resize

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

Gets the permissions for the specified User.

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

Parameters

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

Return Value

Type: UserPermissions
The permissions.
See Also