Add User To Role Action Implementation Steps

1. Defining Action in UI Design

  1. Open your project on the Kuika platform.
  2. Switch to the UI Design module and select the relevant screen.
  3. Create a button (like “Assign Role”).
  1. Select the button and add the Authorization > Add User To Role action according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.) from the + ADD ACTION menu.

Configure Action Parameters

  • Username (String - required): The user's e-mail address in the system.
    • It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed and can be linked via Symbol Picker.
  • RoleName (String - mandatory): The name in the system of the role to which the user will be assigned.
    • This value enables the user to activate access permissions by including the user in a specific authorization group.
    • It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed and can be linked via Symbol Picker.