All Products
Search
Document Center

Quick BI:QuerySharesToUserList

Last Updated:Jun 11, 2026

Mengkueri daftar karya yang diotorisasi kepada pengguna.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

quickbi-public:QuerySharesToUserList

list

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

UserId

string

Yes

ID pengguna. ID pengguna adalah UserID Quick BI, bukan UID Alibaba Cloud.

46e53****5ba4b679ee22e2a2927****

Elemen respons

Element

Type

Description

Example

object

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

RequestId

string

The ID of the request.

DC4E1E63-B337-44F8-8C22-6F00DF67E2C3

Result

array<object>

Returns a list of works authorized to the user.

array<object>

CreateTime

string

The timestamp of the creation time in milliseconds.

1530078690000

Description

string

Remarks on the work.

测试报表的描述

Directory

object

Information about the directory where the work is located.

Id

string

The ID of the directory where the resource is located.

f7f6e22b-83be-47fd-b49d-9ca686a9****

Name

string

The name of the resource.

图表报表

PathId

string

The path ID of the directory where the resource is located.

66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****

PathName

string

The path name of the directory where the resource is located.

一级目录/二级目录

ModifyName

string

The name of the Alibaba Cloud account to which the modifier belongs.

13855265****@163.com

ModifyTime

string

The timestamp of the modification time in milliseconds.

1530078690000

OwnerId

string

The UserID of the work owner in Quickbi.

74f5527216d14e9892245320ebf2****

OwnerName

string

The Alibaba Cloud account name of the work owner.

w****@aliyun.com

SecurityLevel

string

Security policies for collaborative authorization of works. Valid values:

  • 0: private

  • 12: Authorize specified members

  • 1 or 11: Authorize all workspace members

Catatan
  • If you use legacy permissions, the return value is 1.

  • If you use the new permissions, the return value is 11.

0

Status

integer

The publishing status of the report. Valid values:

  • 0: unpublished

  • 1: published

  • 2: modified but not published

  • 3: unpublished

1

ThirdPartAuthFlag

integer

Third-party embedding status. Valid values:

  • 0: No embedding is enabled.

  • 1: Embed is enabled.

0

WorkName

string

The name of the report.

测试报表

WorkType

string

The type of the work. Valid values:

  • DATAPRODUCT: BI portal

  • PAGE: Dashboard

  • FULLPAGE: full-screen dashboards

  • REPORT: workbook

  • dashboardOfflineQuery: self-service data retrieval

DATAFORM

WorksId

string

The ID of the operations report.

97f7f4c1-543a-4069-8e8d-a56cfcd6****

WorkspaceId

string

The ID of the workspace to which the report belongs.

c5f86ad2-ef53-4c51-8720-162ecfdb****

WorkspaceName

string

The name of the workspace to which the report belongs.

专业版回归

Contoh

Respons sukses

JSONformat

{
  "Success": true,
  "RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
  "Result": [
    {
      "CreateTime": "1530078690000",
      "Description": "测试报表的描述",
      "Directory": {
        "Id": "f7f6e22b-83be-47fd-b49d-9ca686a9****",
        "Name": "图表报表",
        "PathId": "66ffe22b-83be-47fd-b49d-9ca58d29****/f7f6e22b-83be-47fd-b49d-9ca686a9****",
        "PathName": "一级目录/二级目录"
      },
      "ModifyName": "13855265****@163.com",
      "ModifyTime": "1530078690000",
      "OwnerId": "74f5527216d14e9892245320ebf2****",
      "OwnerName": "w****@aliyun.com",
      "SecurityLevel": "0",
      "Status": 1,
      "ThirdPartAuthFlag": 0,
      "WorkName": "测试报表",
      "WorkType": "DATAFORM",
      "WorksId": "97f7f4c1-543a-4069-8e8d-a56cfcd6****",
      "WorkspaceId": "c5f86ad2-ef53-4c51-8720-162ecfdb****",
      "WorkspaceName": "专业版回归"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.