Class
PermissionInfo

Class holding information about the permissions inside a RadDocument.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PermissionInfo

Inheritance: objectPermissionInfo

Constructors

PermissionInfo(string, PermissionType, string)

Initializes a new instance of the PermissionInfo class.

Declaration

cs-api-definition
public PermissionInfo(string name, PermissionType type, string displayName)

Parameters

name

string

The name.

type

PermissionType

The type.

displayName

string

The display name.

Properties

DisplayName

Gets the display name.

Declaration

cs-api-definition
public string DisplayName { get; }

Property Value

string

Name

Gets the name of the permission.

Declaration

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

Property Value

string

The name of the permission.

Type

Gets the type of the permission.

Declaration

cs-api-definition
public PermissionType Type { get; }

Property Value

PermissionType

The type of the permission.

Methods

CreateEveryonePermissionInfo()

Creates an 'Everyone' permission.

Declaration

cs-api-definition
public static PermissionInfo CreateEveryonePermissionInfo()

Returns

PermissionInfo

Equals(object)

Determines whether the specified object, is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()