The CDUser table contains all users who are enrolled in the Cloud user service.

ColumnTypeDescription
IDStringUser's UUID (primary key).
DisplayNameStringUser's display name.
MailStringUser's email address.
DescriptionStringDescriptive text for the user.
OfficeNumberStringUser's office or work phone number.
MobileNumberStringUser's mobile (cell) phone number.
HomeNumberStringUser's home phone number.
NameStringUser's login name.
ReportsToStringUUID of the user to whom this user reports.
PictureUriStringURI path to the user's picture file (if any).
EnabledBooleanWhether user is enabled.
LockedBooleanWhether user is locked.
LockedByAdminBooleanIf user is locked, whether it was an administrator's action.
InEverybodyRoleBooleanWhether the user is in the Everybody role.

Example Query

The query searches the CDUser table for users with "or" in their email address.

{
Script: "Select * from CDUser 
    WHERE Mail LIKE '%or%' 
    ORDER BY Name COLLATE NOCASE"
}

The query returns entries with the letters 'or' in the email address.

CDUser table query response:

...
"FullCount": 2,
"Results": [
  {
    "Entities": [
      {
        "Type": "CDUser",
        "Key": "********-****-****-****-************",
        "IsForeignKey": false
      }
    ],
    "Row": {
      "Description": "",
      "DisplayName": "Corey Woobins",
      "PictureUri": null,
       "InEverybodyRole": false,
      "Locked": null,
       "MobileNumber": "**********",
      "LockedByAdmin": null,
      "OfficeNumber": "",
      "HomeNumber": "",
       "_MatchFilter": null,
      "ReportsTo": "Unassigned",
      "Name": "[email protected]",
       "Mail": "[email protected]",
      "Enabled": null,
      "ID": "********-****-****-****-************"
     }
  },
  {
    "Entities": [
      {
         "Type": "CDUser",
        "Key": "********-****-****-****-************",
        "IsForeignKey": false
       }
    ],
    "Row": {
      "Description": null,
      "DisplayName": "Faie Doral",
      "PictureUri": null,
      "InEverybodyRole": false,
      "Locked": null,
      "MobileNumber": null,
      "LockedByAdmin": null,
      "OfficeNumber": null,
      "HomeNumber": null,
      "_MatchFilter": null,
      "ReportsTo": "Unassigned",
      "Name": "[email protected]",
       "Mail": "[email protected]",
      "Enabled": null,
      "ID": "********-****-****-****-************",
    }
  }
 
]

See Also