I am developing a travel agency database system using sql 2000, and the agency have more than hundred users. I created Roles in order to allow for security control of users. Is there a way to reference those groups in T-SQL, and what is the syntax for that. I already know how to reference users (suser_sname()) but i am missing on reference to Database Roles.
I am using SQL Authentication and not Windows NT