User Data Type

A user in the system.

Properties
Name Type Description
password string Base64-encoded value of the password to login with (optional). Only applies when creating or updating a local user; it will not be included in any response. Directory-linked users use their directory-configured password.
emailPassword boolean If true, email the user their password. Only applies when creating a local user with an email address and specifying their password, or when updating a local user; it will not be included in any response.
mdm boolean Only applies only when creating a user; it will not be included in any response. Set to true to have Mobile Device Management (MDM) enabled for the user to create; set to false otherwise. A user that is enabled for MDM can have their devices managed. If not provided in the request to create the user, the created user will be enabled for MDM by default.
links array of Link Links from this user to related resources. Possible link relationships include:
  • groups: Groups directly assigned to this user.
  • profiles: Profiles directly assigned to this user.
guid string GUID of the user.
directoryId string Unique identifier of the user in a company directory. Only applies to directory-linked users, not local users.
username string Username to login with.
displayName string Display name of the user.
firstName string First name.
lastName string Last name.
emailAddress string Email address.

Example

{
  "links" : [ {
    "rel" : "groups",
    "href" : "https://server01:18084/SRP00000/api/v1/users/6dd3a8e2-3f24-48c6-961a-949794f4b554/groups"
  }, {
    "rel" : "...",
    "href" : "..."
  } ],
  "guid" : "6dd3a8e2-3f24-48c6-961a-949794f4b554",
  "directoryId" : "e7aad645-4278-4fae-ab30-5304abea36fa",
  "username" : "pmorley",
  "displayName" : "Paul Morley",
  "firstName" : "Paul",
  "lastName" : "Morley",
  "emailAddress" : "pmorley@example.com"
}