New to Telerik UI for WPFStart a free 30-day trial

Represents the user information in the Telerik document model.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class UserInfo

Inheritance: objectUserInfo

Constructors

C#
public UserInfo(string group, string realName, string username, string email)
Parameters:groupstringrealNamestringusernamestringemailstring

Properties

Represents the email address of the user.

C#
public string Email { get; }
Property Value:

The email address associated with the user.

Represents a group within the user information model.

C#
public string Group { get; }

Gets or sets the real name of the user.

C#
public string RealName { get; }
Property Value:

A string representing the real name of the user. This value can be null or an empty string if no real name is provided.

Gets the username associated with the user information.

C#
public string Username { get; }

Methods

Determines whether the specified object is equal to the current instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current instance.

Returns:

bool

True if the specified object is equal to the current instance; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code for the current UserInfo instance.

C#
public override int GetHashCode()
Returns:

int

A 32-bit signed integer that is the hash code for the current UserInfo.

Overrides: object.GetHashCode()