Click or drag to resize

RecroSecGetPermissions Method (String, Int64, Object, NullableInt32)

Note: This API is now obsolete.

Gets the permissions for the current User.

Namespace:  Recrovit.RecroGridFramework.Security
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
[ObsoleteAttribute("Use instead GetPermissionsForUser")]
public static UserPermissions GetPermissions(
	string objectName,
	long objectKey,
	Object target = null,
	Nullable<int> objectPermissionId = null
)

Parameters

objectName
Type: SystemString
Object name from object permission.
objectKey
Type: SystemInt64
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