0
XugoWebTeam created
Hi Team,
I used a webhooks to create tasks for different tenants automatically. I am having issues to send the notifications to users. Becuase the webhooks are processed at the host side without any user logged in. It does not have the access to the user via the UserManage or UserRepository. How can I get the user info by the username or id? How can I send the notification to the correct user? Thanks
3 Answer(s)
-
0
Hi Aaron,
I did have tried to use the AbpSession.Use but did not work. I will try _unitOfWorkManager.Current.SetTenantId , Thanks
-
0
@xugowebteam
Probably
_unitOfWorkManager.Current.SetTenantId
will work.