Chris,

I have used the code below to check permissions for navigation.

<cfset nodeOK =
request.dmSec.oAuthorisation.checkPermission(permissionName="View",objectID="YourNavObjectID",lPolicyGroupIDs="6")>

This was to check for "anonymous" user group permissions.

Replace "YourNavObjectID" with the navigation node for the html page
your wish to check - you may need to grab the html pages nav node -
try
Replace "6" with the visitors policy group ids, this used to be in
session.dmsec.authentication.lpolicyGroupIds

This was for a V4 site, things may have changed in V5.

Hope this gets you started.

Chris.

On Sep 30, 6:12 pm, Chris Roth <[EMAIL PROTECTED]> wrote:
> Any help on this appreciated. Is there a function I can call in the
> _search.cfm include to check permissions on a dmhtml object, and not
> output it in the results if the user is not logged in or does not have
> permission?
>
> On Sep 29, 3:14 pm, Chris Roth <[EMAIL PROTECTED]> wrote:
>
> > I have a protected node with sub navs and dmhtmls. Is it possible
> > somehow to...
>
> > 1. filter these dmhtml's from the verity search results..
>
> > or.
>
> > 2. some how denote on the results that the page requires a login/
> > particular membership type?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to