Solved

Creating Database roles and logins for VB - Application

Posted on 2004-08-12
3
191 Views
Last Modified: 2010-04-17
Hi,

I have created an application iusing VB / Sql Server 2000.

I have also created an application role (name : VBAPI) in the database with only select permissions.

How can | assign the application I have developed to this Application role ?

Thanks and Best regards,

Sreejith
0
Comment
Question by:sreejithm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
StGoY earned 50 total points
ID: 11796744
sp_addsrvrolemember
Adds a login as a member of a fixed server role.

Syntax
sp_addsrvrolemember [ @loginame = ] 'login'
    , [ @rolename = ] 'role'

Am not quite sure this is what you are looking for though...  You can't give SQL permissions to an application... ??

Quite confusing ;)

Steph
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question