Class
UserIdentity

Represents a user identity context of the report.

Definition

Namespace:Telerik.Reporting.Processing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class UserIdentity

Inheritance: objectUserIdentity

Constructors

UserIdentity()

Creates an instance of the UserIdentity type.

Declaration

cs-api-definition
public UserIdentity()

Properties

AuthenticationType

Gets or sets the type of authentication used.

Declaration

cs-api-definition
public string AuthenticationType { get; set; }

Property Value

string

Context

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.

Declaration

cs-api-definition
public IDictionary<string, object> Context { get; set; }

Property Value

IDictionary<string, object>

Current

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

Declaration

cs-api-definition
public static UserIdentity Current { get; set; }

Property Value

UserIdentity

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

IsAuthenticated

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

Declaration

cs-api-definition
public bool IsAuthenticated { get; set; }

Property Value

bool

Name

Gets or sets the name of the current user.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string