Class PermissionInfo
Class holding information about the permissions inside a RadDocument.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class PermissionInfo : Object
Constructors
PermissionInfo(String, PermissionType, String)
Initializes a new instance of the PermissionInfo class.
Declaration
public PermissionInfo(string name, PermissionType type, string displayName)
Parameters
System.String
name
The name. |
PermissionType
type
The type. |
System.String
displayName
The display name. |
Properties
DisplayName
Gets the display name.
Declaration
public string DisplayName { get; }
Property Value
System.String
|
Name
Gets the name of the permission.
Declaration
public string Name { get; }
Property Value
System.String
The name of the permission. |
Type
Gets the type of the permission.
Declaration
public PermissionType Type { get; }
Property Value
PermissionType
The type of the permission. |
Methods
CreateEveryonePermissionInfo()
Creates an 'Everyone' permission.
Declaration
public static PermissionInfo CreateEveryonePermissionInfo()
Returns
PermissionInfo
|
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |