Help Center/
Data Lake Insight/
SQL Syntax Reference (To Be Offline)/
Spark SQL Syntax Reference (Unavailable Soon)/
Data Permissions Management/
Binding a Role
Updated on 2024-11-08 GMT+08:00
Binding a Role
Function
This statement is used to bind a user with a role.
Syntax
1
|
GRANT ([db_name].role_name,...) TO (user_name,...); |
Keywords
None
Precautions
The role_name and username must exist. Otherwise, an error will be reported.
Example
1
|
GRANT role1 TO user_name1; |
Parent topic: Data Permissions Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot