Top Method Summary
Options Name Purpose
CHARACTER GetLoginCompanyKey (SecurityRealmDatasetModel, character, character) Returns the login company key to use for the security assignment records of the given security realm
Consultingwerk.OERA.FetchDataRequest GetSecurityAssignmentRequest (character, character, character, logical, logical) Returns the FetchDataRequest for the existing direct security assignment records of the given owner and security realm
PopulateAuthorization (dataset, character, character, character) Assigns the Restricted and DefaultLevel extent fields of the records of the ttAuthorizationMaintenance temp-table for the given list of owners
PopulateRealmItems (dataset, character) Populates the ttAuthorizationMaintenance temp-table with one record per security item of the given security realm
PopulateSecurityItems (dataset, character) Populates the ttAuthorizationMaintenance temp-table with one record per security item of the given list of security items
StoreAuthorization (dataset, character, character, character) Stores the security assignment based on the Restricted extent field of the records of the ttAuthorizationMaintenance temp-table for the given list of owners


Method Detail
Top

CHARACTER GetLoginCompanyKey (SecurityRealmDatasetModel, character, character)

Purpose: Returns the login company key to use for the security assignment
records of the given security realm
Notes: Realms that are not company dependent use the empty login
company key

Parameters:
poRealm Consultingwerk.SmartFramework.Authorization.SecurityRealmDatasetModel
The SecurityRealmDatasetModel of the security realm
pcSecurityRealmGuid CHARACTER
The GUID of the security realm, used for the error message when the realm is unknown
pcAlternativeLoginCompanyKey CHARACTER
The GUID of the login company to use instead of the current login company, may be empty
Returns CHARACTER
The GUID of the login company or the empty value
Top

Consultingwerk.OERA.FetchDataRequest GetSecurityAssignmentRequest (character, character, character, logical, logical)

Purpose: Returns the FetchDataRequest for the existing direct security
assignment records of the given owner and security realm
Notes: For the Default (Everybody) pseudo owner the records with
neither the UserGuid nor the GroupGuid set are returned

Parameters:
pcSecurityRealmGuid CHARACTER
The GUID of the security realm
pcCompanyKey CHARACTER
The GUID of the login company, empty for realms that are not company dependent
pcOwnerGuid CHARACTER
The GUID of the user or group, ignored when plIsEverybody is TRUE
plIsEverybody LOGICAL
Logical value indicating if the owner is the Default (Everybody) pseudo owner
plIsUser LOGICAL
Logical value indicating if the owner GUID is the GUID of a user (TRUE) or of a group (FALSE)
Returns Consultingwerk.OERA.FetchDataRequest
The FetchDataRequest for the eSmartSecurityAssignment temp-table
Top

PopulateAuthorization (dataset, character, character, character)

Purpose: Assigns the Restricted and DefaultLevel extent fields of the
records of the ttAuthorizationMaintenance temp-table for the
given list of owners
Notes: Currently a maximum of 20 entries in the OwnerGuids list is
supported (the extent of the ttAuthorizationMaintenance fields).
The OwnerGuids list may contain the
SecurityAssignmentOwner:EVERYBODY EVERYBODY pseudo owner key addressing
the Default (Everybody) security assignments (records with
neither the UserGuid nor the GroupGuid set)

Parameters:
dsAuthorizationMaintenance DATASET dsAuthorizationMaintenance
INPUT-OUTPUT DATASET with the security items to return the authorization for
pcSecurityRealmGuid CHARACTER
The GUID of the security realm
pcOwnerGuids CHARACTER
The comma-delimited list of the GUID's of the users and groups
pcAlternativeLoginCompanyKey CHARACTER
The GUID of the login company to use instead of the current login company, may be empty
Top

PopulateRealmItems (dataset, character)

Purpose: Populates the ttAuthorizationMaintenance temp-table with one
record per security item of the given security realm
Notes: Empties the temp-table first. The security items are retrieved
through the lookup descriptor of the security realm

Parameters:
dsAuthorizationMaintenance DATASET dsAuthorizationMaintenance
INPUT-OUTPUT DATASET with one record per security item of the realm
pcSecurityRealmGuid CHARACTER
The GUID of the security realm
Top

PopulateSecurityItems (dataset, character)

Purpose: Populates the ttAuthorizationMaintenance temp-table with one
record per security item of the given list of security items
Notes: Empties the temp-table first. Unlike PopulateRealmItems this
method limits the records to an explicit list of security items,
e.g. the security items of a single repository based form

Parameters:
dsAuthorizationMaintenance DATASET dsAuthorizationMaintenance
INPUT-OUTPUT DATASET with one record per security item of the list
pcSecurityItemGuids CHARACTER
The comma-delimited list of the GUID's of the security items
Top

StoreAuthorization (dataset, character, character, character)

Purpose: Stores the security assignment based on the Restricted extent
field of the records of the ttAuthorizationMaintenance temp-table
for the given list of owners
Notes: Creates or updates the SmartSecurityAssignment record when the
Restricted entry of the owner is TRUE or FALSE and deletes the
record when the entry is the unknown value (Default)

Parameters:
dsAuthorizationMaintenance DATASET dsAuthorizationMaintenance
INPUT-OUTPUT DATASET with the authorization to store
pcSecurityRealmGuid CHARACTER
The GUID of the security realm
pcOwnerGuids CHARACTER
The comma-delimited list of the GUID's of the users and groups
pcAlternativeLoginCompanyKey CHARACTER
The GUID of the login company to use instead of the current login company, may be empty


ProDataset Detail

ProDataset dsAuthorizationMaintenance

Member tables: ttAuthorizationMaintenance


Temp-Table Detail

Temp-Table ttAuthorizationMaintenance

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.08.2026 06:00:31