Академический Документы
Профессиональный Документы
Культура Документы
Administering Users
Objectives
After completing this lesson, you should be able to do
the following:
Create and manage database user accounts
Create and manage roles
Grant and revoke privileges
Control resource usage by users
7-2
7-3
Creating a User
Select Users from the Administration properties page.
Click the Create button.
7-4
7-5
Authenticating Users
7-7
Password
External
Global
7-9
The collection of
objects owned by a user
is the schema.
Schema Objects
A user can be
associated with only
one schema.
Indexes
Tables
Triggers
Views
Sequences
Synonyms
User-defined data types
Database links
7-10
7-11
Select a profile.
Select an authentication technique.
Assign a default tablespace and temporary
tablespace.
Grant privileges and roles to the user.
Decide on quotas for each tablespace.
Privileges
There are two types of user privileges:
System: Enables users to perform particular
actions in the database
Object: Enables users to access and manipulate a
specific object
7-12
System Privileges
7-13
Object Privileges
7-15
7-16
7-17
Roles
Users
Roles
Privileges
Neena
HR_MGR
Delete
employees
Girard
Vance
HR_CLERK
Select
employees
Insert
employees
7-18
Update
employees
Benefits of Roles
7-19
Predefined Roles
7-20
CONNECT
RESOURCE
SCHEDULER_
ADMIN
DBA
SELECT_
CATALOG_
ROLE
Secure Roles
Roles may be nondefault.
SET ROLE vacationdba;
Summary
In this lesson you should have learned how to:
Create and manage user accounts
Create and manage roles
Grant and revoke privileges
Control resource usage by users
7-22
Practice 7:
Administering Users
This practice covers the following:
Creating a profile to limit resource consumption
Creating two roles:
a. HRCLERK
b. HRMANAGER
7-23