Top Method Summary
Options Name Purpose
System.Drawing.Image GetElementTypeImage (character) Returns the repository type icon image for the given type icon key
CHARACTER GetSelectedElementGuid () Returns the ElementGuid of the viewer or grid selected in the combo-box
InitializeComponent ()
LoadArea (character, dataset, CharacterDictionary) Populates the area from the structural data of the repository based form and retrieves the authorization for the given owners
PopulateElementList () Populates the viewer/grid combo-box from the VIEWER and GRID elements of the structural data
PopulateFieldItems () Populates the grid with the bound fields of the viewer or grid selected in the combo-box and retrieves the authorization of their security items
StoreArea () Stores the pending changes of the area
StoreFieldSecurityItemChanges () Creates the security items registered for creation in the grid
ultraComboEditor1_ValueChanged (Object, EventArgs) Event handler for the ValueChanged event of the viewer/grid combo-box

Top Constructor Summary
Options Name Purpose
FormAuthorizationFieldsControl () Initializes a new instance of the FormAuthorizationFieldsControl

Top Property Summary
Options Name Purpose
CHARACTER AreaKey
Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl SecurityAssignmentGrid


Method Detail
Top

System.Drawing.Image GetElementTypeImage (character)

Purpose: Returns the repository type icon image for the given type icon key
Notes: The images come from the RyComponentType16 value list of the
IValueListProvider - the same icons the instances grid of the Object
Master form displays. The value list is resolved once per instance

Parameters:
pcTypeIcon CHARACTER
The type icon key of the element (ElementTypeIcon)
Returns System.Drawing.Image
The image of the type icon or the unknown value
Top

CHARACTER GetSelectedElementGuid ()

Purpose: Returns the ElementGuid of the viewer or grid selected in the combo-box
Notes:

Returns CHARACTER
The ElementGuid of the selected viewer or grid or the empty value
Top

InitializeComponent ()


Top

LoadArea (character, dataset, CharacterDictionary)

Purpose: Populates the area from the structural data of the repository based
form and retrieves the authorization for the given owners
Notes: Fills the viewer/grid combo-box from the VIEWER and GRID elements of
the dataset and the grid with the bound fields of the selected element

Parameters:
pcObjectMasterName CHARACTER
The name of the Object Master of the repository based form
dsFormAuthorizationStructure DATASET dsFormAuthorizationStructure
The ProDataset with the structural data of the form
poOwnerList Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterDictionary with the GUID's of the users and groups and the Default (Everybody) pseudo owner key
Top

PopulateElementList ()

Purpose: Populates the viewer/grid combo-box from the VIEWER and GRID elements
of the structural data
Notes: Keeps the current selection when the element still exists and selects
the first element otherwise

Top

PopulateFieldItems ()

Purpose: Populates the grid with the bound fields of the viewer or grid
selected in the combo-box and retrieves the authorization of their
security items
Notes: The row key of a field row is the ItemRowKey. Fields without a
security item are registered without one, so their owner cells stay
inactive until the item has been created and stored

Top

StoreArea ()

Purpose: Stores the pending changes of the area
Notes: Stores the changes to the security assignments first and the security
items registered for creation afterwards - a created item receives its
GUID on the server, so the refreshed structural data is required
before its assignments can be maintained

Top

StoreFieldSecurityItemChanges ()

Purpose: Creates the security items registered for creation in the grid
Notes: Applies the checked item exists boxes of the grid rows to the
ttFormAuthorizationItem records and invokes the
StoreFieldSecurityItems method of the FormAuthorizationBusinessTask,
which creates the missing SmartFieldSecurityItem records and returns
the refreshed structural data of the form - including the GUIDs of the
created items. The area is then re-populated from the refreshed data

Top

ultraComboEditor1_ValueChanged (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the viewer/grid combo-box
Notes: Offers to store pending changes of the previously selected element
and populates the grid with the fields of the newly selected one

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event


Constructor Detail
Top

FormAuthorizationFieldsControl ()

Purpose: Initializes a new instance of the FormAuthorizationFieldsControl
Notes:



Property Detail
Top

CHARACTER AreaKey


Returns CHARACTER
Top

Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl SecurityAssignmentGrid


Returns Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl


ProDataset Detail

ProDataset dsFormAuthorizationStructure

Member tables: ttFormAuthorizationElement, ttFormAuthorizationPage, ttFormAuthorizationItem


Temp-Table Detail

Temp-Table ttFormAuthorizationElement

Defined in:

Temp-Table ttFormAuthorizationItem

Defined in:

Temp-Table ttFormAuthorizationPage

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:21:11