Blazor Server - Identity how to action on behalf of another user

Cenk 956 Reputation points
2023-01-01T05:12:52.227+00:00

Hello,

I am working on a Blazor Server application. There is a new request from the customer. When an employee goes on leave, can action be taken on his behalf on the system? Let's say there are 2 users A and B. If B goes on leave, is it possible for A to take action on behalf of user B? How can I produce a solution in such a scenario?

Thank you.

Happy New Year.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
617 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,395 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,686 Reputation points
    2023-01-01T17:37:35.527+00:00

    You would need to design this into your identity system. How I’ll the user indicate they are doing the work of another?


  2. Rijwan Ansari 746 Reputation points MVP
    2023-01-11T13:19:15.7733333+00:00

    You can create a table to keep on behalf of employee record like Task Assignment.

    When someone is going for leave, he can mark as absent with start date and end date and assign on behalf of the employee.

    You can write logic in code to check if absent then validate on behalf of employee.

    0 comments No comments