Re: Public Role in SQL Server 2000 SP3
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 07/13/04
- Next message: hari: "user tables"
- Previous message: Dan Guzman: "Re: Public Role in SQL Server 2000 SP3"
- In reply to: Peter: "Public Role in SQL Server 2000 SP3"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 09:58:39 +0530
Hi,
The public role is a special database role to which every database user
belongs. Captures all default permissions for users in a database.
The user with public role can access only the tables / objects granted
permissions exclusevely to PUBLIC role.
For eg:
Hari is a database owner and he create a table customer. After creation he
gave the below statement to give previlage to customer table.
GRANT select on customer to public
IN this case user inside public role will be able to access the table
customer. Otherwise he can not.
-- Thanks Hari MCDBA "Peter" <anonymous@discussions.microsoft.com> wrote in message news:2b73701c46890$d144c1a0$a501280a@phx.gbl... > If I add a user to a database with Public Database Role, I > would like to know what privilege has been granted to him. > > This is because we find that he is not able to SELECT any > table.
- Next message: hari: "user tables"
- Previous message: Dan Guzman: "Re: Public Role in SQL Server 2000 SP3"
- In reply to: Peter: "Public Role in SQL Server 2000 SP3"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|