I have several private nodes on my site, with only selected users having access to each. The problem is that a user does not know who the other users are that will see their posts when posting in a private node.
I'd like to be able to post, in the right margin of the private node's page, either a list of users or a list of avatars for those users who have access to the private node. I can manually generate this list of users who have access to each private node.
So, in a long winded question, can I use this code inside a widget to display a list of users' avatars in the right margin of a private node page?