Skip to main content

Users data source in Dash

About the Users data source and available fields, filters, and conditions

About

The Users data source provides access to Moodle user profile data. It is commonly used to create member directories, staff lists, or learner overviews.

You can find these settings when opening the preferences of a Dash block.


Available fields

These are the building blocks available for your layout:

User

  • First name

  • Last name

  • Full name

  • Full name linked

  • Email address

  • Username

  • ID number

  • City/town

  • Country

  • Last login

  • Department

  • Institution

  • Address

  • Alternate name

  • First access

  • Description

  • User picture URL

  • User picture

  • User picture (linked to profile)

  • User profile URL

  • User profile link

  • Message URL

  • Message

  • Group

  • Custom profile fields (setup individual on your Moodle installation)

Details area

  • Details button

  • Details link

Note: For how to enable and arrange these fields, see Fields preferences. To configure how the details button and link behave, see the Details area preferences.


Available filters

These are the filters available in the data source:

  • Group

  • Department

  • Institution

  • Last login

  • First access

  • Custom profile fields (setup individual on your Moodle installation)

Note: For how to enable these for your users, see Filters preferences.


Available conditions

You can restrict which users are included in the block using the following rules:

  • Logged in user – Only shows the profile of the person viewing the block.

  • My participants / students – Only shows students assigned to the teacher viewing the block.

  • My groups – Only shows users who share a group with the viewer.

  • Current course – Only shows users enrolled in the course where the block is placed.

  • Relations – Filter by specific Moodle roles (e.g. Parent).

  • Cohorts – Filter by specific Moodle cohort membership.

Note: For how to apply these restrictions, see Conditions preferences.

Did this answer your question?