user permissions

How do I get user permissions and rights from the database (SQL Server) using Visual Basic 6 code.

Loader.
Up arrow icon