@makehq/sdk
    Preparing search index...

    Class Roles

    Class providing methods for working with Make roles. Covers both built-in system roles and, when enabled, custom roles.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Get details of a specific role, including its permissions. Requires Roleman to be enabled; not supported on private (on-premise) instances.

      Parameters

      • roleId: number

        The role ID to get

      Returns Promise<Role>

      Promise with the role information

      const role = await make.roles.get(42);