RulesEngine.SetUserGroup

Previous Next

Changes the user group as a member of which the logged-on user has access to the application.

Calling this method is effective only if the logged-on user is declared as a member of multiple user groups. In this case, she accesses the application as a member of whichever of these user groups comes first alphabetically. Calling the method allows switching to other user groups. As a result, access rights on tables and columns, menu options, and items in the Objects List are changed accordingly.

Syntax

SELECT RulesEngine.SetUserGroup (
        usergroup
)

 

The required usergroup is the name of the user group that the logged-on user switches to, as declared in USoft Authorizer.

Example

SELECT RulesEngine.SetUserGroup (
        'REVIEWERS'
)

 

See also

Connecting non-database users to a USoft application

RulesEngine internal component

Internal components