Namespace: Consultingwerk.SmartFramework
Class 
FieldAuthorizationProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Authorization.IFieldAuthorizationProvider

File:FieldAuthorizationProvider
Purpose:Sample IFieldAuthorizationProvider implementation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Nov 09 00:17:05 CET 2012



Top Method Summary
Options Name Purpose
+ CHARACTER GetHiddenFields (Object, character) Returns the list of hidden fields for a temp-table
+ CHARACTER GetReadOnlyFields (Object, character) Returns the list of read-only fields for a temp-table
+ Consultingwerk.Framework.Authorization.FieldRestrictionEnum IsFieldRestricted (Object, character, character) Provides authorization for fields


Method Detail
Top

PUBLIC CHARACTER GetHiddenFields (Object, character)

Purpose: Returns the list of hidden fields for a temp-table
Notes:

Parameters:
poRequestor Progress.Lang.Object
The reference to the requesting object
pcTableName CHARACTER
The field name to secure
Returns CHARACTER
The comma delimited list of hidden fields
Top

PUBLIC CHARACTER GetReadOnlyFields (Object, character)

Purpose: Returns the list of read-only fields for a temp-table
Notes: Hidden fields are also considered read-only

Parameters:
poRequestor Progress.Lang.Object
The reference to the requesting object
pcTableName CHARACTER
The field name to secure
Returns CHARACTER
The comma delimited list of read-only fields
Top

PUBLIC Consultingwerk.Framework.Authorization.FieldRestrictionEnum IsFieldRestricted (Object, character, character)

Purpose: Provides authorization for fields
Notes:

Parameters:
poRequestor Progress.Lang.Object
The reference to the requesting object
pcFieldName CHARACTER
The field name to secure
pcSecurityKey CHARACTER
The security key of the field's container (Viewer, Browser)
Returns Consultingwerk.Framework.Authorization.FieldRestrictionEnum
The FieldRestrictionEnum value


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:21:14