Top Method Summary
Options Name Purpose
+ ClearCache () Clears the cache of the SecurityServiceClient
# DetermineUserGuid () Determines the Guid of the current user
+ 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
# 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

PUBLIC ClearCache ()

Purpose: Clears the cache of the SecurityServiceClient
Notes:

Top

PROTECTED DetermineUserGuid ()

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

Top

PUBLIC 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

PUBLIC 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

PUBLIC 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

PUBLIC 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

PUBLIC 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

PUBLIC 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

PROTECTED LoginCompanyKeyChangedHandler ()

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

Top

PROTECTED UserNameChangedHandler ()

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



Constructor Detail
Top

PUBLIC AuthorizationClient ()

Purpose: Constructor for the AuthorizationClient class
Notes:



Temp-Table Detail


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:03:40