Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check users role permissions

Status
Not open for further replies.

slybitz

Technical User
Mar 25, 2005
113
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top