Solved

Creating Database roles and logins for VB - Application

Posted on 2004-08-12
3
188 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
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 Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

770 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