Returns the role of a particular user for the given topic.
Note that this method must accept unknown user IDs. Typical return values in this case are UserRole.user or UserRole.banned (to enable posting for registered users only).
ID of the user to query
The topic for which to query the role
See Implementation
Returns the role of a particular user for the given topic.
Note that this method must accept unknown user IDs. Typical return values in this case are UserRole.user or UserRole.banned (to enable posting for registered users only).