Checks whether the user is authorized for given object with given permission.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- permission
- Type: CMS.DataEngine PermissionsEnum
Permission to check
- obj
- Type: CMS.DataEngine BaseInfo
Object 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