CRecordUserDbRoleRecord

This record is a pure data record. It contains the data for one role.

This message belongs to the Session Manager API.
The Session Manager is part of the NY_Session2PlugIn plugin.

{
  "id": "38ce13f3-1bfb-410b-b2c1-2342113f4052",
  "name": "USER_DB_ROLE_RECORD",
  "description": "A role record.",
  "slots": [
    {
      "key": "role",
      "name": "ROLE_ID",
      "type": "STRING",
      "description": "The role id."
    },
    {
      "key": "desc",
      "name": "DESCRIPTION",
      "type": "STRING",
      "description": "The role description."
    },
    {
      "key": "protected",
      "name": "IS_PROTECTED",
      "type": "BOOLEAN",
      "description": "True if the role is protected."
    },
    {
      "key": "createdBy",
      "name": "CREATED_BY",
      "type": "STRING",
      "description": "The user that has created the role."
    },
    {
      "key": "time",
      "name": "TIME_CREATED",
      "type": "LOCAL_DATE_TIME",
      "description": "The timestamp of role creation."
    }
  ]
}

Description

  • ROLE_ID: The role ID is the key of the role data record and is therefore unique. Example: “Administrator”
  • DESCRIPTION: The description of the role. It may be a little more detailed.
  • IS_PROTECTED: A flag that indicates whether this role is protected. This protects it from accidental deletion.
  • CREATED_BY: An automatic entry. It shows the user ID of the person who created the data record.
  • TIME_CREATED: An automatic entry. A timestamp of when the role was created.

used by