Interface UserGroup

Group of users

A group can have many users, one user can be in many groups.

interface UserGroup {
    getDescription(): string;
    getId(): number;
    getName(): string;
    setDescription(description: string): boolean;
    setName(name: string): boolean;
}

Methods

  • Returns string

  • Returns number

  • Returns string

  • Sets new description

    Parameters

    • description: string

    Returns boolean

    Whether operation was successful or not.

  • Sets new name

    Parameters

    • name: string

    Returns boolean

    Whether operation was successful or not.