ADD USER

更新時間:
Copy as MD

MaxCompute專案空間添加阿里雲使用者或RAM使用者。

使用限制

  • 添加RAM使用者時,MaxCompute只允許阿里雲主帳號將自身的RAM使用者加入到專案空間中,不允許加入其它阿里雲帳號的RAM使用者。

  • 本文中的命令您可以在如下工具平台執行:

命令格式

add user <user_name>;

參數說明

參數名稱

是否必填

說明

user_name

待添加阿里雲帳號或RAM使用者帳號資訊。格式如下:

您可以通過MaxCompute用戶端執行list users;命令查看使用者資訊。

使用樣本

  • 樣本1:添加阿里雲帳號test_user@aliyun.com(帳號ID:5527xxxxxxxx5788)至MaxCompute專案空間。

    add user ALIYUN$5527xxxxxxxx5788;
  • 樣本2:添加RAM使用者ram_test_user(UID:5527xxxxxxxx5788:2763xxxxxxxxxx1649)至MaxCompute專案空間。

    add user RAM$5527xxxxxxxx5788:2763xxxxxxxxxx1649;
  • 樣本3:需要添加阿里雲帳號test_user@aliyun.com(帳號ID:5527xxxxxxxx5788)中的RAM角色ram_roleMaxCompute專案空間。

    add user `RAM$5527xxxxxxxx5788:role/ram_role`;
    重要

    命令中的“`”不可缺失。

相關命令

  • LIST USERS:查看MaxCompute專案空間中的使用者資訊。

  • REMOVE USER:當一個使用者離開MaxCompute專案團隊時,需要將該使用者從專案空間中移除。