What is library to use to gather a list of user roles. I am looking for this functionality to determine the roles of a user interacting with a swing app via remote desktop on win 2003 server.

Thanks.