User Management

The User Management module provides a preview of all user metadata on an application's keyset and lets you:

To start managing your user and membership data, follow these steps:

  1. Log in to the Admin Portal.
  2. In the left sidebar, go to BizOps Workspace.
  3. Select User Management.
  4. Choose an app and keyset to manage users.
  5. If needed, configure your keyset following on-screen instructions.

Create users

Follow these steps to create a user:

  1. In the User Management interface, click the Create User button.

    Create User button in the User Management toolbar

    Persistent table settings

    In the User Management section, you can modify the way tables are displayed through the table settings icon in the top-right corner of each table. For example, you can pin columns, order or hide them, or change row heights. These settings are stored in local storage, which allows them to persist across page refreshes and browser restarts on the same device.

    The user creation modal opens.

    Create User modal with required and optional fields

  2. Fill in the details. Only the User ID is required. Click Create User.

    The new user appears in the list.

    Users list showing the newly created user record

Time zone

The Updated field displays time in your local time zone.

To learn more about the user fields, refer to App Context methods.

Read-only objects

BizOps Workspace uses the JavaScript Chat SDK. Some features, like user moderation or message reporting, rely on technical channels and users. These names use prefixes such as PUBNUB_INTERNAL or REVIEWED. An "eye" icon marks these objects and their memberships. You can view details, but you can't edit or delete them.

Import users

You can test User Management with sample data without creating users manually.

If you have access to Insights, you can preview user data on your app's keyset even if you don't use App Context to store it.

You can import that Insights data into User Management as sample users.

Click Import from Insights to fetch up to 20 users from your keyset who published the most messages in the last day with the requested data. If no messages were sent yesterday, the import uses the previous day.

Top 20 Insights users

After import, the data is stored in App Context and user objects appear in User Management. The imported users have:

  • The name that matches the ID imported from Insights
  • The imported type
  • The sent_messages custom field with the number of messages at import time (used to select the top 20 users)

If some imported user data already exists in App Context, the importer skips it.

icon

Under the hood

Update users

Follow these steps to update the metadata of an existing user.

  1. Search for the user. Click anywhere in the user's table row to open the record. Or click the Actions menu (⋮) next to the user and select View User.

    Update user actions

    Filtering large data volumes

    When working with a large number of users, avoid using the quick search box at the top of the page as it performs a slower contains search across all users. For better performance, use the Filters button with the OR condition, and set up an equals filter with the exact user ID(s) you're looking for. This same limitation applies to the Channel Management module when searching through applications with many channel records.

  2. Edit the field you want to update and click the Save button.

    Edit user

Delete users

You can delete an existing user in one of the following ways.

Delete single user

Follow these steps from the main User Management view:

  1. Select the user to remove and click the Delete button.

    Delete user

  2. When a modal pops up, click Confirm.

Delete multiple users

To remove multiple users at once, follow these steps from the main User Management view:

  1. Select the users to remove and click the Delete button.

    Delete users

  2. When a modal pops up, click Confirm.

Manage membership

Manage user-channel membership from the User Management section.

Add membership

You can create user-channel membership in one of the following ways.

Follow these steps from the main User Management view:

  1. Click the "More actions" icon next to the user and select Assign to Channels.

    Assign to channels

  2. Select the channel on a modal and click the Add button.

    Add channels

Update membership

Follow these steps to update details on the user-channel membership.

  1. Click the user entry (any column).

    User entry

  2. Scroll down and click the View Memberships button at the bottom.

    View membership

  3. Click the channel entry (any column) or the "More actions" icon next to the channel and select View Membership.

    Channel membership details

  4. Update the field(s) and click the Save button.

    Update membership

Delete membership

Follow these steps to remove users from a channel (delete membership).

  1. Click the user entry (any column).

    User entry

  2. Scroll down and click the View Memberships button at the bottom.

    View membership

  3. Select the user entry and click the Delete button or select the "More actions" icon next to the given channel and click Delete. Confirm your choice on the pop-up modal.

    Delete membership

  4. Alternatively, click the channel entry (any column) or the "More actions" icon next to the given channel and select View Membership.

    Check membership details

    Then, click the Delete button and Confirm when a modal pops up.

    Delete membership - button

Bulk delete

If a user is a member of more than one channel, you can remove multiple memberships at once.

  1. Follow the steps 1-2 described in the Delete membership section.

  2. Select channel memberships you want to remove and click the Delete button.

    Delete bulk membership

  3. When a modal pops up, click Confirm.

Filters

You can filter users and their channel membership using the Filters icon on the user and membership list views.

Filters button

After choosing this option, you can filter users or memberships through all available fields apart from the custom ones. Choose Category, Operator, and Value.

Filter field

Click Add Field to add additional filtering rows.

This way, you can add multiple filters for different categories.

Multiple filters

Advanced filtering

You can also click the Switch to advanced filtering button to add advanced filtering that can include custom fields.

Advanced button

In the modal field, enter the expression using App Context Filtering Language.

Advanced filtering search

For example, to find all users named John that have the active status and have Support Agent as a custom field (Occupancy), enter (name LIKE '*john*') && (status == "active") && (occupancy == "Support Agent") and press Apply filters.

Last updated on