当前位置:网站首页>Gbase 8C access authority query function (III)
Gbase 8C access authority query function (III)
2022-07-24 00:17:00 【Dazhuang twelve】
has_directory_privilege(user, directory, privilege)
describe : Specify whether the user has access directory Authority .
surface 1 Parameter type description
Parameter name | Legal input type |
user | name, oid |
directory | text, oid |
privilege | text |
Return type :Boolean
has_directory_privilege(directory, privilege)
describe : Whether the current user has access directory Authority , See table for legal parameter types 1.
Return type :Boolean
has_foreign_data_wrapper_privilege(user, fdw, privilege)
describe : Specify whether the user has access to the external data wrapper .
surface 2 Parameter type description
Parameter name | Legal input type |
user | name, oid |
fdw | text, oid |
privilege | text |
Return type :Boolean
has_foreign_data_wrapper_privilege(fdw, privilege)
describe : Whether the current user has access to the external data wrapper . See table for legal parameter types 2.
Return type :Boolean
remarks :has_foreign_data_wrapper_privilege Check whether the user can access the external data wrapper in a specific way . Its parameters are similar has_table_privilege. The access permission type must be USAGE.
has_function_privilege(user, function, privilege)
describe : Specify whether the user has access to the function .
surface 3 Parameter type description
Parameter name | Legal input type |
user | name, oid |
function | text, oid |
privilege | text |
Return type :Boolean
has_function_privilege(function, privilege)
describe : Whether the current user has access to the function . See table for legal parameter types 3.
Return type :Boolean
remarks :has_function_privilege Check whether a user can access a function in the specified way . Its parameters are similar has_table_privilege. Use text characters instead of OID When you declare a function , Allowed types and regprocedure The data types are the same ( Please refer to object identifier type ). The access permission type must be EXECUTE、ALTER、DROP or COMMENT.
边栏推荐
- webrtc 1对1 -基本架构与目录
- Space shooting lesson 08: improved collision
- Jenkins uses sonarqube to build pipeline code review project
- Pytest interface automated testing framework | how to get help
- YOLOv1
- STL case - judges' scoring
- The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
- GBase 8c 会话信息函数(二)
- It basic English
- GBase 8c系统表信息函数(一)
猜你喜欢

The implementation in Oracle replaces the specified content of the specified column with the desired content

Lac automatic dialing experiment of L2TP

Automatic escape processing in JMeter

vulnhub wpwn: 1

【译】Go RPC 入门:Hello World

Xmind用例导入到TAPD的方案(附代码)

Delete all data of specified query criteria in Oracle

IIS deployment.Netcore

The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies

webrtc 1对1 -基本架构与目录
随机推荐
GBase 8c 会话信息函数(六)
Application of encryption technology
GBase 8c模式可见性查询函数(二)
Intel Intel realsense realistic depth camera self calibration operation steps explanation D400 series is applicable
The implementation in Oracle replaces the specified content of the specified column with the desired content
paypal订阅流程及api请求
As a programmer, is there anything you want to say to the newcomer?
php实现 Stripe订阅
Pytest interface automated test framework | pytest generates simple test reports
[speech synthesis] tensorflowtts Chinese text to speech
作为一个程序员,有什么想对新人说的吗?
Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization
分布式之 CAP 原则
力扣刷题训练之超简单
总结谋划明方向 凝心聚力开新局——和数软件对口援疆项目显成效
Pytest interface automated testing framework | common running parameters of pytest
今天在家里补觉
GBase 8c 模式可见性查询函数(一)
mysql数据库基础
inode、软链接、硬链接