- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get the user informatio?
Operating System - HP-UX
1753478
Members
6227
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2003 11:08 PM
тАО02-24-2003 11:08 PM
How to get the user informatio?
Hello everyone.
I want to get following user
information from ORACLE database.
1. username
2. user id
3. role
4. create date
Could someone advise me the
operation procedure?
Thanks.
I want to get following user
information from ORACLE database.
1. username
2. user id
3. role
4. create date
Could someone advise me the
operation procedure?
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2003 11:16 PM
тАО02-24-2003 11:16 PM
Re: How to get the user informatio?
you can just do a
select * from dba_users where username='CHEN';
Thanks
select * from dba_users where username='CHEN';
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2003 11:25 PM
тАО02-24-2003 11:25 PM
Re: How to get the user informatio?
Hi,
sqlplus > select * from dba_users;
sqlplus > select * from dba_users;
never give up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2003 11:34 PM
тАО02-24-2003 11:34 PM
Re: How to get the user informatio?
hi,
to get the user information, you should use the following:
select username, user_id, created
from dba_users
where username like '%&user%'
whereas for the role information:
select grantee, granted_role
from dba_role_privs
where grantee like '%&user%'
and if you want table privileges, try:
select grantee, owner||'.'||table_name, privilege
from dba_tab_privs
where grantee like '%&user%'
and for column level privileges:
select grantee, owner||'.'||table_name, column_name, privilege
from dba_col_privs
where grantee like '%&user%'
hope this helps!
Best Regards
Yogeeraj
to get the user information, you should use the following:
select username, user_id, created
from dba_users
where username like '%&user%'
whereas for the role information:
select grantee, granted_role
from dba_role_privs
where grantee like '%&user%'
and if you want table privileges, try:
select grantee, owner||'.'||table_name, privilege
from dba_tab_privs
where grantee like '%&user%'
and for column level privileges:
select grantee, owner||'.'||table_name, column_name, privilege
from dba_col_privs
where grantee like '%&user%'
hope this helps!
Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP