Base solution for your next web application
Open Closed

User Delegations function V13.4 - Angular & ASP.CORE #12285


User avatar
0
pliaspzero created

I am writing to inquire about the "User Delegation" functionality in ASPZERO. Specifically, I would like to understand how this feature operates and how actions taken under this mechanism are logged.

Could you please provide clarity on the following points:

Functionality:
    When a representative acts on behalf of the original user, how are actions or decisions recorded?
    Does the system provide an audit trail indicating both the delegate and the original user?

Thank you for your assistance!

Best regards,


5 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi

    This document contains your questions. You can see the details here.

    Audit Logs will be saved with Impersonator information, so you can see if an action is executed by actual account owner or by the delegated user.

  • User Avatar
    0
    pliaspzero created

    Thanks :) is it somwhow possible to show in UI that last change of an entity was done by delegated user?

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi

    If you want to see entity changes in an interface, this document contains detailed information. Here, you need to activate the entity whose entity history you want to see in changes. You can filter here if you want.

  • User Avatar
    0
    pliaspzero created

    ok - thanks - also something possible like this:

    if (currentUser.IsDelegatedUser) { data.LastModifiedBy = currentUser.Id; // Delegierter Benutzer data.ActingOnBehalfOf = currentUser.OriginalUserId; // Ursprünglicher Benutzer } else { data.LastModifiedBy = currentUser.Id; // Normaler Benutzer }

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi

    Yes, it can also be used this way depending on the scenario.