Click or drag to resize
SecurityCheck Class
Security check for the UI form.
Inheritance Hierarchy

Namespace: CMS.FormControls
Assembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax
C#
public class SecurityCheck : Component

The SecurityCheck type exposes the following members.

Constructors
  NameDescription
Public methodSecurityCheck
Top
Methods
  NameDescription
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 methodCheckPermissions
Checks the security of the permissions, returns true if the security check succeeded.
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.
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.)
Top
Fields
  NameDescription
Protected fieldmIsAllowed
Result of the security check.
Top
Properties
  NameDescription
Protected propertyCurrentSiteName
Current site name.
Protected propertyCurrentUser
Current user.
Public propertyDisableForm
If true, the form is disabled if security check does not succeed.
Public propertyEditor
If true, the editor should be checked.
Public propertyGlobalAdministrator
If true, the global admin check should be performed.
Public propertyIsAllowed
Result of the security check.
Public propertyPermission
Permission name to be checked.
Public propertyResource
Resource name to be checked.
Public propertyUIElements
UI elements to be checked.
Top
See Also