UserSecurityHelper MembersKentico 8.1 API Reference
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.
Back to Top
See Also