RecroGridGetPermissions Method
Gets the current user's permissions for the given object associated with the specified parameters.
Namespace: Recrovit.RecroGridFrameworkAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.2.0.24.0102.1
protected virtual UserPermissions GetPermissions(
string objectName,
string objectKey = null,
Object dataRec = null,
int? objectPermissionId = null
)
- objectName String
- Name of the object.
- objectKey String (Optional)
- You need to provide the object identifier, or if it is at the objectName field level, the ObjectPermissionId associated with the objectName. If not specified, it will search for the parent based on the name.
- dataRec Object (Optional)
- The data record.
- objectPermissionId NullableInt32 (Optional)
- The object permission identifier.
UserPermissionsThe Permissions.