Interface AutoAssignRule

A role-to-net auto-assignment rule. When a user with the specified role connects, they are auto-assigned to the listed nets.

interface AutoAssignRule {
    netId?: number;
    netIds?: number[];
    netUids?: string[];
    roleId: string;
}

Properties

netId?: number

Use netIds for multiple nets. Single net ID (kept for backward compat).

netIds?: number[]

Array of numeric net IDs to auto-assign.

netUids?: string[]

Array of net UIDs to auto-assign (alternative to netIds).

roleId: string