Top Method Summary
Options Name Purpose
ClearCache () Clears the cache of the AuthorizationClient
ClearUserCache () Clears the cached results of the current user
DetermineUserGuid () Determines the Guid of the current user
EnsureDefinitionsCurrent () Reloads the cached definitions when the cache stamp of their Business Entities changed
CHARACTER GetCacheStamp () Returns the current cache stamp of the Business Entities whose data is cached
LONGCHAR GetRestrictedTokens () Returns the comma-delimited list of restricted tokens for the current user
Progress.Json.ObjectModel.JsonArray GetRestrictedTokensAsJsonArray () Returns the JsonArray of restricted tokens for the current user
LOGICAL IsObjectTokenRestricted (character, character) Returns if the given security token is restricted
LOGICAL IsProductRestricted (character) Returns if the given product is restricted
LOGICAL IsTokenRestricted (character) Returns if the given security token is restricted
LOGICAL IsToolbarItemRestricted (character, character) Returns if the given toolbar item is restricted
LoadDefinitions () Loads the cached definitions (toolbar security items, security objects, security tokens, security realm defaults)
LoginCompanyKeyChangedHandler () Event handler for the LoginCompanyKeyChanged event of the SessionManager class
UserNameChangedHandler () Event handler for the UserNameChanged event of the SessionManager class

Top Constructor Summary
Options Name Purpose
AuthorizationClient () Constructor for the AuthorizationClient class


Method Detail
Top

ClearCache ()

Purpose: Clears the cache of the AuthorizationClient
Notes: SCL-6347: Clears the cached results of the current user and
reloads the cached definitions

Top

ClearUserCache ()

Purpose: Clears the cached results of the current user
Notes: SCL-6347: Called when the user or the login company changes -
on PASOE with every request - so it does not reload the
definitions.
SCL-6350: Called up to four times per PASOE request (UserNameChanged and
LoginCompanyKeyChanged on deactivate and on the context restore). The
preloaded toolbar items are only reset when a restriction has been
cached since the last call

Top

DetermineUserGuid ()

Purpose: Determines the Guid of the current user
Notes: Based on the SessionManager:UserName and SessionManager:LoginCompanyKey

Top

EnsureDefinitionsCurrent ()

Purpose: Reloads the cached definitions when the cache stamp of their
Business Entities changed
Notes: SCL-6347

Top

CHARACTER GetCacheStamp ()

Purpose: Returns the current cache stamp of the Business Entities whose
data is cached
Notes: SCL-6347

Returns CHARACTER
The current cache stamp
Top

LONGCHAR GetRestrictedTokens ()

Purpose: Returns the comma-delimited list of restricted tokens for the current
user
Notes:

Returns LONGCHAR
Comma-delimited list of restricted tokens
Top

Progress.Json.ObjectModel.JsonArray GetRestrictedTokensAsJsonArray ()

Purpose: Returns the JsonArray of restricted tokens for the current
user
Notes:

Returns Progress.Json.ObjectModel.JsonArray
JsonArray with the list of restricted tokens
Top

LOGICAL IsObjectTokenRestricted (character, character)

Purpose: Returns if the given security token is restricted
Notes: When the token is unknown on the current system, the ? is returned
When the object is not known, of the token not assigned to that object,
the ITokenSecurityService:IsTokenRestricted API will be used instead

Parameters:
pcSecurityObjectName CHARACTER
The name of the security object
pcSecurityTokenCode CHARACTER
The code of the security token
Returns LOGICAL
Logical value indicating if the given token is restricted for the current user, TRUE means the user does not have access to the token
Top

LOGICAL IsProductRestricted (character)

Purpose: Returns if the given product is restricted
Notes: When the product is unknown on the current system, the ? is returned

Parameters:
pcProductCode CHARACTER
The code of the product
Returns LOGICAL
Logical value indicating if the given token is restricted for the current user, TRUE means the user does not have access to the product
Top

LOGICAL IsTokenRestricted (character)

Purpose: Returns if the given security token is restricted
Notes: When the token is unknown on the current system, the ? is returned

Parameters:
pcSecurityTokenCode CHARACTER
The code of the security token
Returns LOGICAL
Logical value indicating if the given token is restricted for the current user, TRUE means the user does not have access to the token
Top

LOGICAL IsToolbarItemRestricted (character, character)

Purpose: Returns if the given toolbar item is restricted
Notes: When the toolbar item is unknown on the current system, the security realm default will be returned

Parameters:
pcObjectName CHARACTER
The name of the container or SmartTableIOTarget
pcToolbarItemKey CHARACTER
The name of the toolbar item
Returns LOGICAL
Logical value indicating if the given toolbar item is restricted for the current user, TRUE means the user does not have access to the toolbar item
Top

LoadDefinitions ()

Purpose: Loads the cached definitions (toolbar security items, security
objects, security tokens, security realm defaults)
Notes: SCL-6347. Moved from the constructor, called again when the
cache stamp changed or the cache is cleared

Top

LoginCompanyKeyChangedHandler ()

Purpose: Event handler for the LoginCompanyKeyChanged event of the SessionManager class
Notes:

Top

UserNameChangedHandler ()

Purpose: Event handler for the UserNameChanged event of the SessionManager class
Notes:



Constructor Detail
Top

AuthorizationClient ()

Purpose: Constructor for the AuthorizationClient class
Notes:



Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.11.2026 10:03:50