Hi,
I have an application that uses SQL to store the information.
The authentication on the server is Windows Authentication and the users are all part of one or more Windows Groups. The Windows group is mapped to database roles in the database.
So it looks like this:
User is member of Windows Group --> Windows group has certain DB role.
How do I retrieve the roles for a given user?
So with what statements can I check which roles UserA has been granted?
Thanks.
I have an application that uses SQL to store the information.
The authentication on the server is Windows Authentication and the users are all part of one or more Windows Groups. The Windows group is mapped to database roles in the database.
So it looks like this:
User is member of Windows Group --> Windows group has certain DB role.
How do I retrieve the roles for a given user?
So with what statements can I check which roles UserA has been granted?
Thanks.