Checks permission ranges against the current user of the associated RadRichTextBox.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DefaultCredentialsValidator : IProtectionAuthenticationProvider
Inheritance: objectDefaultCredentialsValidator
Implements:
Constructors
Creates a validator that uses the specified editor's user information and tracks changes to it.
public DefaultCredentialsValidator(RadRichTextBox richTextBox)
The editor whose current user is checked for permission access.
Methods
Determines whether the editor's current user matches the supplied permission.
public bool CanEdit(PermissionRangeInfo permissionInfo)
The permission range to check.
Returns:true for an Everyone permission; for an Individual permission when its name matches the user's domain-stripped username or email; or for a Group permission when its name matches the user's group. Name comparisons are case-insensitive. If there is no current user, only Everyone permissions are allowed.
Implements:
Events
Occurs when the associated editor reports that its user information has changed.
public event EventHandler AuthenticationDataChanged
Implements: