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

Class holding information about the permissions inside a RadDocument.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class PermissionInfo

Inheritance: objectPermissionInfo

Constructors

Initializes a new instance of the PermissionInfo class.

C#
public PermissionInfo(string name, PermissionType type, string displayName)
Parameters:namestring

The name.

typePermissionType

The type.

displayNamestring

The display name.

Properties

Gets the display name.

C#
public string DisplayName { get; }

Gets the name of the permission.

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

The name of the permission.

Gets the type of the permission.

C#
public PermissionType Type { get; }
Property Value:

The type of the permission.

Methods

Creates an 'Everyone' permission.

C#
public static PermissionInfo CreateEveryonePermissionInfo()
Returns:

PermissionInfo

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

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

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)

Returns a hash code for this instance.

C#
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()