PrivelegeGroup

Describes a privilege group: a named set of privileges. (The type name is spelled as-is in the SDK source.)

export type PrivelegeGroup = {
  group_name: string; // name
  privileges: PrivilegeEntity[]; // privileges
};

FIELDS:

Example

import { MilvusClient } from '@zilliz/milvus2-sdk-node';

const milvusClient = new MilvusClient({
    address: 'localhost:19530',
    token: 'root:Milvus',
});

const res = await milvusClient.listPrivilegeGroups();

console.log(res.privilege_groups); // PrivelegeGroup[]

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?