AbstractSecurityAttribute Class |
Namespace: CMS.UIControls
public abstract class AbstractSecurityAttribute : AbstractAttribute
The AbstractSecurityAttribute type exposes the following members.
Name | Description | |
---|---|---|
AbstractSecurityAttribute |
Constructor.
|
Name | Description | |
---|---|---|
ContainsMacro |
If true, the attribute contains macros
(Inherited from AbstractAttribute.) | |
CurrentSiteName |
Current site name.
| |
CurrentUser |
Current user.
| |
Editor |
If true, the editor should be checked.
| |
ExistingObject |
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.) | |
GlobalAdministrator |
If true, the global admin check should be performed.
| |
IsAllowed |
If true, the security check is allowed, if false, it automatically returns false.
| |
NewObject |
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.) | |
Permission |
Permission name to be checked.
| |
Resource |
Resource name to be checked.
| |
ResourceSite |
If true, the resource assignment to the site should be checked.
| |
UIElements |
UI elements to be checked separated by semicolon ;.
|
Name | Description | |
---|---|---|
GetText |
Gets the text for the element.
(Inherited from AbstractAttribute.) | |
GetUrl |
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.) | |
CheckEditedObject |
Returns True if attribute should be applied.
Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.) | |
CheckEditor |
Checks the security of the editor, returns true if the security check succeeded.
| |
CheckGlobalAdministrator |
Checks the security of the global admin, returns true if the security check succeeded.
| |
CheckModuleLoaded |
Checks if resource is loaded, returns false if resource/module is separated.
| |
CheckPermissions |
Checks the security of the permissions, returns true if the security check succeeded.
| |
CheckResourceSite |
Checks the security of resource, returns true if the module is assigned to the current site.
| |
CheckSecurity |
Checks the security, returns true if the security check succeeded.
| |
CheckUIElements |
Checks the security of the UI elements, returns true if the security check succeeded.
| |
Resolve |
Resolves the give text.
(Inherited from AbstractAttribute.) |