How do I get the number of roles that a user has on the server?

How do I get the number of roles that a user has on the server?
Was this page helpful?