Class

Scope

Scope()

Scope aggregate (info, licences, userGroups, userRoles).

Constructor

# new Scope()

Properties:
Name Type Description
info ScopeInfo

Scope info

licences Array.<Licence>

Licences

Since:
  • 09.2025, aab

View Source infohub/Scope.js, line 126

Example
{
  "info": {
    "id": "scope1",
    "name": "Scope 1",
    "description": "Scope 1 description",
    "createdon": "2025-01-01",
    "updatedon": "2025-01-01",
    "createdby": "user1",
    "updatedby": "user1"
  },
  "licences": [
          {
  "contract": "",
  "created": "2025-01-01T00:00:00Z",
  "createdby": "user@example.com",
  "expirated": null,
  "id": "00000000-0000-0000-0000-000000000000",
  "licenced_userid": ["user@example.com"],
  "licencee": {
    "address": "{\"street\":\"...\", \"city\":\"...\", \"zip\":\"...\"}",
    "email": "info@example.com",
    "name": "ACME"
  },
  "maxpermissions": "edit",
  "maxseats": 0,
  "module": "objecttypes",
  "scope": "cn_dv",
  "startdate": "2025-01-01T00:00:00Z",
  "updated": "2025-01-01T00:00:00Z",
  "updatedby": "user@example.com"
},
  ]
}

Classes

Scope

Methods

# getUserIds() → {Array.<string>}

Get user IDs

View Source infohub/Scope.js, line 140

Array.<string>