How can I filter a dropdownbox by logged in username?

How can I filter a dropdown by logged in username? I’ve enabled Active Directory security and can modify the page access by Active Directory groups successfully. Now I would like to take the authenticated user and filter a dropdown.

1 Like

How is the dropdown populated? Does the data come from ‘Invoke data source method’?

Yes, it comes from an Invoke data source method.

Hi Steve,

You can add $filter expression. For example UserName not equal to current user:

UserName ne '${security.user.name}'

Best Regards,
Vladimir

1 Like

Hi Vladimir, how can this be done with Blazor?

1 Like