Re: SQL2000 UserPermissions for Database
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Mon, 4 Dec 2006 09:31:51 +0200
Arejan
By EXEC sp_grantdbaccess 'Login', 'Userx' , you are only givinng an simple
access to the database
Now that , you add the user to the database fixed role such you mentioned,
just do not make a login to be a member of sysadmin server role
"Arejan" <areejan2000@xxxxxxxxx> wrote in message
news:1165216099.346721.194610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Uri
EXEC sp_grantdbaccess 'Login', 'Userx'
its EXEC sp_grantdbaccess 'Userx'
will it cover
public
db_backupoperator
db_datread
db_datawrite
or only db_datread
1.whats the command to select only databases whose user is "Userx"
set the dataccess for databaseA and databaseF
here "Userx" can r-w-backup databaseA and databaseF
i want to
select all databases that "Userx" can access.
which will display
databaseA
databaseF
Thank You
.
- Follow-Ups:
- Re: SQL2000 UserPermissions for Database
- From: Arejan
- Re: SQL2000 UserPermissions for Database
- References:
- SQL2000 UserPermissions for Database
- From: Arejan
- Re: SQL2000 UserPermissions for Database
- From: Uri Dimant
- Re: SQL2000 UserPermissions for Database
- From: Arejan
- SQL2000 UserPermissions for Database
- Prev by Date: Re: SQL2000 UserPermissions for Database
- Next by Date: Retrieve SQL Server data via MS Query to spread***
- Previous by thread: Re: SQL2000 UserPermissions for Database
- Next by thread: Re: SQL2000 UserPermissions for Database
- Index(es):