Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Name on Chat #2720


User avatar
0
fguo created

I am trying "ASP.NET Core & Angular 2.x" v3.3.0, with single tenant. I understand the "Chat Feature" can only be changed in AbpFeatures table in the database as described on Topic #7873. I just wonder how to change the Chatter's display name on the Chat. :?: The chatter's name now includes tenant (e.g. Default\admin) even we are on single tenant mode. For security, chatters want to use nick names instead of using tenanct\username. Is it possible? :?:

Thanks,


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This is possible but not implemented by default. You can extend your user entity, see <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>. Add a NickName property to it and use it in chat sections.

  • User Avatar
    0
    fguo created

    That's good! I will do some code work later to implement.

    For now, I simply want to remove the tenancyName "Default" from Chat in Single Tenant mode. Can you advise which code file need to modify?

    Thanks,