New to Telerik ReportingStart a free 30-day trial

Represents a user identity context of the report.

Definition

Namespace:Telerik.Reporting.Processing

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class UserIdentity

Inheritance: objectUserIdentity

Constructors

Creates an instance of the UserIdentity type.

C#
public UserIdentity()

Properties

Gets or sets the type of authentication used.

C#
public string AuthenticationType { get; set; }

Context

IDictionary<string, object>

Gets or sets the context collection for storing and retrieving user objects. The stored objects must be serializable so they can be persisted in the storage.

C#
public IDictionary<string, object> Context { get; set; }

Gets or sets the current user identity context of the report.

C#
public static UserIdentity Current { get; set; }
Remarks:

For the server viewer technologies it will be resolved automatically. The developer can override the default resolving mechanism. It can be retrieved both by this static member and with expression like =UserIdentity.Name

Gets or sets a value that indicates whether the user has been authenticated.

C#
public bool IsAuthenticated { get; set; }

Name

string

Gets or sets the name of the current user.

C#
public string Name { get; set; }