Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We develop an API for accessing content nodes. One Interface provides an overview over all nodes the member can access. So we check every node, the user has access to.
My implementation uses this call to check.
Umbraco.Web.UmbracoHelper.MemberHasAccess(content.Id, content.Path);
The average time to do this check is 0.074738213 sec - After 150 nodes we end up in 11.2 sec
Is there an faster access-check?
Best regards.
Hi
How did you solved this issue?
Kind regards Damiaan
Hi Damiaan,
Try to see this documentation https://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/ and search for HasAccess
Hope this helps,
/Dennis
Hi Damiaan and mlu,
You can try to use IPublishedContent nodes for getting nodeId, it will be faster than IContent.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Check IContent access rights for member - performance
We develop an API for accessing content nodes. One Interface provides an overview over all nodes the member can access. So we check every node, the user has access to.
My implementation uses this call to check.
The average time to do this check is 0.074738213 sec - After 150 nodes we end up in 11.2 sec
Is there an faster access-check?
Best regards.
Hi
How did you solved this issue?
Kind regards
Damiaan
Hi Damiaan,
Try to see this documentation https://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/ and search for HasAccess
Hope this helps,
/Dennis
Hi Damiaan and mlu,
You can try to use IPublishedContent nodes for getting nodeId, it will be faster than IContent.
is working on a reply...