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.1.5347.20411)
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