Please help with HasAccess

I am trying to hide some content from users who are not part of a paticular group.

The page has public acces restricted and the piece of code on the page that i'm trying to hide looks like this

<xsl:if test="umbraco.library:HasAccess(@id,@path)">
      <div><umbraco:Macro Alias="SubnodeLinks" runat="server"></umbraco:Macro></div>
</xsl:if>

Any clues?

Many thanks!!!!


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/41800-please-help-with-hasaccess