Click or drag to resize
UserSecurityHelper Class
Helper class to check the user security
Inheritance Hierarchy
SystemObject
  CMS.MembershipUserSecurityHelper

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static class UserSecurityHelper

The UserSecurityHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetPermissionName
Returns name of the permission specified by the enumeration value.
Public methodStatic memberIsAuthorizedPerClassName
Checks whether the user is authorized for given class name and permission, returns true if so.
Public methodStatic memberIsAuthorizedPerMetaFile
Checks whether the user is authorized per meta file for given object type and permission.
Public methodStatic memberIsAuthorizedPerObject(PermissionsEnum, BaseInfo, String, UserInfo, Boolean)
Checks whether the user is authorized for given object with given permission.
Public methodStatic memberIsAuthorizedPerObject(PermissionsEnum, String, String, UserInfo, Boolean)
Checks whether the user is authorized per object with given object type and permission.
Public methodStatic memberIsAuthorizedPerResource
Checks whether the user is authorized for given resource name and permission, returns true if so.
Public methodStatic memberIsAuthorizedPerUIElement(String, String, String, UserInfo)
Checks whether the user is authorized for given resource name and UIElements, returns true if so.
Public methodStatic memberIsAuthorizedPerUIElement(String, String, Boolean, String, UserInfo)
Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
Top
See Also