/// <summary> /// Count the number of roles ID defined. If the count is zero, it indicates /// the WebPortalUser does not belong to the roles which are required to access /// the zone. /// </summary> /// <param name="z"></param> /// <param name="roleArray"></param> /// <returns></returns> public int fetchRoleMatchingCountForRead(CmsPageSecurityZone z, WebPortalUserRole[] roleArray) { // PageSecurityZoneUserRoleRepository repository = new PageSecurityZoneUserRoleRepository(); return(repository.fetchRoleMatchingCountForRead(z, roleArray)); }