Hi,
you could create a
custom macro that would check if user is in role or not and returns string values "true" or "false".
Then you could create a
container that would be used only in case your custom macro returns true, i.e. in case the user is in role. Therefore you could insert following macro to the
Web part container property. Black.box is a code name of container.
{#mycustommacroname|(tobool)true|(truevalue)Black.Box|(falsevalue)""#}
Best regards,
Ivana Tomanickova