Lists the account systems enabled for a MaxCompute project. Supported account systems are the Alibaba Cloud account system and the Resource Access Management (RAM) account system.
Limits
Run this statement on the MaxCompute client (odpscmd). LIST ACCOUNTPROVIDERS is a CMD statement and can only be executed on the MaxCompute client (odpscmd).
Default account system behavior
By default, a MaxCompute project recognizes only the Alibaba Cloud account system. To allow RAM users to access the project, add the RAM account system with ADD ACCOUNTPROVIDER.
Syntax
list accountproviders;Output
The command returns one line per enabled account system.
| Value | Description |
|---|---|
ALIYUN | The Alibaba Cloud account system is enabled. |
RAM | The RAM account system is enabled. |
Example — Alibaba Cloud account system only (default):
ALIYUNWhat's next
ADD ACCOUNTPROVIDER: Add the RAM account system to a project.
REMOVE ACCOUNTPROVIDER: Remove an account system from a project.
USE: Switch to a project you have access to.
SET PROJECT: View or configure project properties.