I setup a role (called PAPAdmin) within my database and I have added users to this role. How can I tell via vb .net if a user using my application is in this role or not? I already have the username of the user in a string (let's call the string strUserName) but I just need to check that string against the users that are in my newly created role and see if they are a part of that role or not. How can I do this?
Thanks for your help!
Thanks for your help!