Get a member's roles in the backend

Thanks. But as far as I can see that only gets the roles of the currently logged-in member. What I want to be able to do is get the roles for any member, eg by id or loginEmail. Is there a way of doing that?