我如何获得的架构的Oracle用户有权访问列表 [英] How do I obtain a list of schemas that an Oracle user has access to
本文介绍了我如何获得的架构的Oracle用户有权访问列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在甲骨文,我可以在我的架构将权限授予其他用户,以便其他用户访问我的架构(并在我的架构反过来对象)。
In Oracle I can grant privileges on my schema to another user so that the other user has access to my schema (and in turn objects in my schema).
如何编程,使用ADO.NET(或者MS或Oracle的提供者),获取模式,以一个特定用户有权访问列表?
How do I programmatically ,using ADO.NET (either MS or Oracle's provider), obtain a list of schemas to which a particular user has access?
推荐答案
如果连接为用户感兴趣的:
If connected as the user of interest:
select distinct table_schema from all_tab_privs;
这篇关于我如何获得的架构的Oracle用户有权访问列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文