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: 1.7.3
Syntax
C#
public static UserPermissions GetPermissionsForUser(
	string userId,
	string objectName,
	int objectKey,
	Object target = null,
	Nullable<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