We recommend using Visual Studio 2017

IUserContext Interface

Defines the properties of the context of the user session.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

public interface IUserContext

The IUserContext type exposes the following members.

Public propertyAuthenticationTypeGets the value that specifies the authentication mode.
Public propertyTokenGets the value that specifies the security token.
Public propertyUserNameGets the value that specifies the user name.

Reporting Services passes the IUserContext object to the ProcessReportDefinition() method.