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

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public class SecurityCheck : Component

The SecurityCheck type exposes the following members.

Constructors
  NameDescription
Public methodSecurityCheck
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
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
See Also