I'm pretty new to programming for SQL. Using VB.NET (2005) how do I detect whether a user has been given write access to my database at designtime in a windows application? Is there something akin to my.user.isinrol e("Server/database/db_datawriter") ??? I just need to be able to distinguish between users with write access and those with just read access.
Any help would be much appreciated. Thanks.
User Profile
Collapse
-
Detect SQL Server Role in VB.NET
-
COM when client doesn't have related app installed
I am developing an application in VB.NET that uses the Google Earth COM-API for one small element. My problem is that if a client does not have GE installed then the program, as expected, crashes. The element of the program that uses GE is not significant, so I do not want to force the user to install GE. Is there a way that I can add a reference to GE programmaticall y and thus handle the errors thrown if the user doesn't have GE? Or is there...
No activity results to display
Show More