AbstractSecurityAttribute MembersKentico 8.1 API Reference
The AbstractSecurityAttribute type exposes the following members.
Constructors

  NameDescription
Public methodAbstractSecurityAttribute
Constructor.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from OnlineAttribute.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Returns the hash code for this instance.
(Inherited from OnlineAttribute.)
Protected methodGetText
Gets the text for the element.
(Inherited from AbstractAttribute.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodGetUrl
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.)
Protected methodCheckEditedObject
Returns True if attribute should be applied. Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.)
Public methodCheckEditor
Checks the security of the editor, returns true if the security check succeeded.
Public methodCheckGlobalAdministrator
Checks the security of the global admin, returns true if the security check succeeded.
Public methodCheckModuleLoaded
Checks if resource is loaded, returns false if resource/module is separated.
Public methodCheckPermissions
Checks the security of the permissions, returns true if the security check succeeded.
Public methodCheckResourceSite
Checks the security of resource, returns true if the module is assigned to the current site.
Public methodCheckSecurity
Checks the security, returns true if the security check succeeded.
Public methodCheckUIElements
Checks the security of the UI elements, returns true if the security check succeeded.
Public methodOnlineIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from OnlineAttribute.)
Public methodOnlineMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from OnlineAttribute.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodResolve
Resolves the give text.
(Inherited from AbstractAttribute.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyContainsMacro
If true, the attribute contains macros
(Inherited from AbstractAttribute.)
Protected propertyCurrentSiteName
Current site name.
Protected propertyCurrentUser
Current user.
Public propertyEditor
If true, the editor should be checked.
Public propertyExistingObject
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.)
Public propertyGlobalAdministrator
If true, the global admin check should be performed.
Public propertyIsAllowed
If true, the security check is allowed, if false, it automatically returns false.
Public propertyNewObject
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.)
Public propertyPermission
Permission name to be checked.
Public propertyResource
Resource name to be checked.
Public propertyResourceSite
If true, the resource assignment to the site should be checked.
Public propertyOnlineTypeId
When implemented in a derived class, gets a unique identifier for this OnlineAttribute.
(Inherited from OnlineAttribute.)
Public propertyUIElements
UI elements to be checked separated by semicolon ;.
Back to Top
See Also