Unplanned
Last Updated: 17 Jun 2026 11:37 by ADMIN
Pawan
Created on: 16 Oct 2025 02:34
Category: Report Server
Type: Feature Request
15
UserIdentity.Name is null when the report is sent by the Service Agent
Currently when the report is run through the web or designer the report runs fine as the logged in user identity is available. However, when the report is scheduled user.identity.name returns null. This translates to no way to customize a report scheduled to run differently from a logged in user e.g. logged in user has row/data restrictions can be triggered by the user identity while when scheduling mgiht wish to expose more information.
2 comments
ADMIN
Dimitar
Posted on: 17 Jun 2026 11:37

Hello Pawan,

We still do plan to address this problem. However, a solution is yet to be determined due to the nature of this issue. 

The Scheduled Tasks/Data Alerts are sent by the Report Server's Service Agent. There is no user in that context, as the document is rendered once in the selected format and then sent to all subscribers.

A workaround that you could use until the issue is fixed is to set a default value when the identity is null. For example:

= UserIdentity.Name ?? "A Name"

You could also use a report parameter in place of the hardcoded string. That would allow you to pass a value dynamically, but it will still be the same value for all subscribers because the document is generated once, and then is sent.

Until a decision has been made on how to handle the item, I will remove the previously set milestone for the Q1 release, so that there is no confusion. On that matter, we are interested in hearing what kind of solution would work for your needs, given that the user is not available to the service agent.

For example, would it be more convenient to provide the username via an environment variable that the service agent can read from? Even in that scenario, however, it would still be the same name for all subscribers due to the document being rendered once.

We look forward to hearing your feedback!

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Pawan
Posted on: 11 Jun 2026 02:40
This was scheduled for 2026 Q1, is this still up for release?