Class RolesService<RoleType>

An implementation of the FIN Roles service.

Type Parameters

Constructors

Methods

  • Delete a role record via its id.

    Parameters

    • id: string | HRef

      The id of the record to delete.

    Returns Promise<void>

  • Read a role via its id.

    Parameters

    • id: string | HRef

      The id of the role to read.

    Returns Promise<RoleType>

    The role record.

    An error if the role can't be found.