Checks whether the user is authorized for given resource name and permission, returns true if so.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- resourceName
- Type: System String
Resource name
- permissionName
- Type: System String
Permission name to check
- siteName
- Type: System String
Site name
- userInfo
- Type: CMS.Membership UserInfo
User to check
- exceptionOnFailure (Optional)
- Type: System Boolean
If true, PermissionCheckException is thrown whenever a permission check fails
Return Value
Type: BooleanSee Also