How can I get all capabilities for a particular user?

How can I get all capabilities for a particular user?

tech