Resource URL: /platform/<<version=1>>/auth/mapping/users/lookup

    Overview: This resource allows user lookup.

     Methods: GET

********************************************************************************

Method GET: Retrieve the user information.

       URL: GET /platform/<<version=1>>/auth/mapping/users/lookup

Query arguments:
      primary_gid=<integer> The user's primary group ID.
              uid=<integer> The user ID.
              zone=<string> The zone the user belongs to.
              gid=<integer> The IDs of the groups that the user belongs to.
              user=<string> The user name.
kerberos_principal=<string> The Kerberos principal name, of the form user@realm.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "mapping": {
          "items": {
            "type": "object", 
            "properties": {
              "zone": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ]
              }, 
              "privileges": {
                "minItems": 0, 
                "items": {
                  "type": "object", 
                  "description": "Specifies the system-defined privilege that may be granted to users.", 
                  "properties": {
                    "read_only": {
                      "type": "boolean", 
                      "description": "True, if the privilege is read-only."
                    }, 
                    "id": {
                      "minLength": 0, 
                      "required": true, 
                      "type": "string", 
                      "description": "Specifies the ID of the privilege.", 
                      "maxLength": 255
                    }, 
                    "name": {
                      "minLength": 0, 
                      "type": "string", 
                      "description": "Specifies the name of the privilege.", 
                      "maxLength": 255
                    }
                  }
                }, 
                "type": "array", 
                "maxItems": 4294967295
              }, 
              "object_history": {
                "minItems": 0, 
                "items": {
                  "type": "object", 
                  "properties": {
                    "gid": {
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        "null"
                      ]
                    }, 
                    "uid": {
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        "null"
                      ]
                    }, 
                    "sid": {
                      "type": "object", 
                      "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                      "properties": {
                        "type": {
                          "enum": [
                            "user", 
                            "group", 
                            "wellknown"
                          ], 
                          "type": "string", 
                          "description": "Specifies the type of persona, which must be combined with a name."
                        }, 
                        "id": {
                          "minLength": 0, 
                          "type": "string", 
                          "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                          "maxLength": 261
                        }, 
                        "name": {
                          "minLength": 0, 
                          "type": "string", 
                          "description": "Specifies the persona name, which must be combined with a type.", 
                          "maxLength": 255
                        }
                      }
                    }
                  }
                }, 
                "type": "array", 
                "maxItems": 4294967295
              }, 
              "zid": {
                "type": [
                  {
                    "minimum": 0, 
                    "type": "integer", 
                    "maximum": 4294967295
                  }, 
                  {
                    "type": "null"
                  }
                ]
              }, 
              "user": {
                "type": "object", 
                "description": "Specifies the configuration properties for a user.", 
                "properties": {
                  "domain": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the domain that the object is part of."
                  }, 
                  "generated_gid": {
                    "required": true, 
                    "type": [
                      "boolean", 
                      "null"
                    ], 
                    "description": "True, if the GID was generated."
                  }, 
                  "on_disk_group_identity": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the group identity on the disk."
                  }, 
                  "uid": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies an ID for the user."
                  }, 
                  "password_expires": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "If true, the password is allowed to expire."
                  }, 
                  "sam_account_name": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies a user or group name."
                  }, 
                  "dns_domain": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the DNS domain."
                  }, 
                  "password_expired": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "If true, the password has expired."
                  }, 
                  "id": {
                    "minLength": 0, 
                    "required": true, 
                    "type": "string", 
                    "description": "Specifies the user or group ID.", 
                    "maxLength": 255
                  }, 
                  "generated_upn": {
                    "required": true, 
                    "type": [
                      "boolean", 
                      "null"
                    ], 
                    "description": "True, if the UPN was generated."
                  }, 
                  "object_history": {
                    "type": [
                      {
                        "type": "null"
                      }, 
                      {
                        "minItems": 0, 
                        "items": {
                          "type": "object", 
                          "properties": {
                            "gid": {
                              "type": [
                                {
                                  "type": "object", 
                                  "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                                  "properties": {
                                    "type": {
                                      "enum": [
                                        "user", 
                                        "group", 
                                        "wellknown"
                                      ], 
                                      "type": "string", 
                                      "description": "Specifies the type of persona, which must be combined with a name."
                                    }, 
                                    "id": {
                                      "minLength": 0, 
                                      "type": "string", 
                                      "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                      "maxLength": 261
                                    }, 
                                    "name": {
                                      "minLength": 0, 
                                      "type": "string", 
                                      "description": "Specifies the persona name, which must be combined with a type.", 
                                      "maxLength": 255
                                    }
                                  }
                                }, 
                                "null"
                              ]
                            }, 
                            "uid": {
                              "type": [
                                {
                                  "type": "object", 
                                  "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                                  "properties": {
                                    "type": {
                                      "enum": [
                                        "user", 
                                        "group", 
                                        "wellknown"
                                      ], 
                                      "type": "string", 
                                      "description": "Specifies the type of persona, which must be combined with a name."
                                    }, 
                                    "id": {
                                      "minLength": 0, 
                                      "type": "string", 
                                      "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                      "maxLength": 261
                                    }, 
                                    "name": {
                                      "minLength": 0, 
                                      "type": "string", 
                                      "description": "Specifies the persona name, which must be combined with a type.", 
                                      "maxLength": 255
                                    }
                                  }
                                }, 
                                "null"
                              ]
                            }, 
                            "sid": {
                              "type": "object", 
                              "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                              "properties": {
                                "type": {
                                  "enum": [
                                    "user", 
                                    "group", 
                                    "wellknown"
                                  ], 
                                  "type": "string", 
                                  "description": "Specifies the type of persona, which must be combined with a name."
                                }, 
                                "id": {
                                  "minLength": 0, 
                                  "type": "string", 
                                  "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                  "maxLength": 261
                                }, 
                                "name": {
                                  "minLength": 0, 
                                  "type": "string", 
                                  "description": "Specifies the persona name, which must be combined with a type.", 
                                  "maxLength": 255
                                }
                              }
                            }
                          }
                        }, 
                        "type": "array", 
                        "maxItems": 4294967295
                      }
                    ]
                  }, 
                  "password_last_set": {
                    "required": true, 
                    "type": [
                      {
                        "minimum": 0, 
                        "type": "integer", 
                        "maximum": 4294967295
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the last time the password was set."
                  }, 
                  "gid": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies a group ID for the user."
                  }, 
                  "provider": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the authentication provider that the object belongs to."
                  }, 
                  "max_password_age": {
                    "required": true, 
                    "type": [
                      "integer", 
                      "null"
                    ], 
                    "description": "Specifies the maximum time in seconds allowed before the password expires."
                  }, 
                  "type": {
                    "minLength": 0, 
                    "required": true, 
                    "type": "string", 
                    "description": "Specifies the object type.", 
                    "maxLength": 255
                  }, 
                  "email": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies an email address."
                  }, 
                  "dn": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the distinguished name for the user."
                  }, 
                  "shell": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 4096
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies a path to the shell for the user."
                  }, 
                  "sid": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }
                    ], 
                    "description": "Specifies the security identifier."
                  }, 
                  "expiry": {
                    "required": true, 
                    "type": [
                      {
                        "minimum": 0, 
                        "type": "integer", 
                        "maximum": 4294967295
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the Unix Epoch time at which the authenticated user will expire."
                  }, 
                  "on_disk_user_identity": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the user identity on the disk."
                  }, 
                  "password_expiry": {
                    "required": true, 
                    "type": [
                      {
                        "minimum": 0, 
                        "type": "integer", 
                        "maximum": 4294967295
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the time in Unix Epoch seconds that the password will expire."
                  }, 
                  "user_can_change_password": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "Specifies whether the password for the user can be changed."
                  }, 
                  "expired": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "True, if the authenticated user has expired."
                  }, 
                  "upn": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies a principal name for the user."
                  }, 
                  "locked": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "If true, indicates that the account is locked."
                  }, 
                  "name": {
                    "minLength": 0, 
                    "required": true, 
                    "type": "string", 
                    "description": "Specifies a user or group name.", 
                    "maxLength": 255
                  }, 
                  "member_of": {
                    "required": true, 
                    "type": [
                      {
                        "type": "null"
                      }, 
                      {
                        "minItems": 0, 
                        "items": {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        "type": "array", 
                        "maxItems": 4294967295
                      }
                    ], 
                    "description": "Specifies the groups that this user or group are members of."
                  }, 
                  "enabled": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "True, if the authenticated user is enabled."
                  }, 
                  "primary_group_sid": {
                    "required": true, 
                    "type": [
                      {
                        "type": "object", 
                        "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                        "properties": {
                          "type": {
                            "enum": [
                              "user", 
                              "group", 
                              "wellknown"
                            ], 
                            "type": "string", 
                            "description": "Specifies the type of persona, which must be combined with a name."
                          }, 
                          "id": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                            "maxLength": 261
                          }, 
                          "name": {
                            "minLength": 0, 
                            "type": "string", 
                            "description": "Specifies the persona name, which must be combined with a type.", 
                            "maxLength": 255
                          }
                        }
                      }
                    ], 
                    "description": "Specifies the security ID of the primary group for the user."
                  }, 
                  "gecos": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 255
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies the GECOS value, which is usually the full name."
                  }, 
                  "generated_uid": {
                    "required": true, 
                    "type": [
                      "boolean", 
                      "null"
                    ], 
                    "description": "True, if the UID was generated."
                  }, 
                  "home_directory": {
                    "required": true, 
                    "type": [
                      {
                        "minLength": 0, 
                        "type": "string", 
                        "maxLength": 4096
                      }, 
                      {
                        "type": "null"
                      }
                    ], 
                    "description": "Specifies a home directory for the user."
                  }, 
                  "prompt_password_change": {
                    "required": true, 
                    "type": "boolean", 
                    "description": "Prompts the user to change their password at the next login."
                  }
                }
              }, 
              "groups": {
                "minItems": 0, 
                "items": {
                  "type": "object", 
                  "description": "Specifies the configuration properties for a user.", 
                  "properties": {
                    "domain": {
                      "required": true, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the domain that the object is part of."
                    }, 
                    "generated_gid": {
                      "required": false, 
                      "type": [
                        "boolean", 
                        "null"
                      ], 
                      "description": "If true, indicates that the GID was generated."
                    }, 
                    "on_disk_group_identity": {
                      "required": false, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the group identity on the disk."
                    }, 
                    "uid": {
                      "required": false, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the user ID."
                    }, 
                    "password_expires": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the password is allowed to expire."
                    }, 
                    "sam_account_name": {
                      "required": true, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies a user or group name."
                    }, 
                    "dns_domain": {
                      "required": true, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the DNS domain."
                    }, 
                    "password_expired": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the password has expired."
                    }, 
                    "id": {
                      "minLength": 0, 
                      "required": true, 
                      "type": "string", 
                      "description": "Specifies the user or group ID.", 
                      "maxLength": 255
                    }, 
                    "generated_upn": {
                      "required": false, 
                      "type": [
                        "boolean", 
                        "null"
                      ], 
                      "description": "If true, indicates that the UPN was generated."
                    }, 
                    "object_history": {
                      "type": [
                        {
                          "type": "null"
                        }, 
                        {
                          "minItems": 0, 
                          "items": {
                            "type": "object", 
                            "properties": {
                              "gid": {
                                "type": [
                                  {
                                    "type": "object", 
                                    "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                                    "properties": {
                                      "type": {
                                        "enum": [
                                          "user", 
                                          "group", 
                                          "wellknown"
                                        ], 
                                        "type": "string", 
                                        "description": "Specifies the type of persona, which must be combined with a name."
                                      }, 
                                      "id": {
                                        "minLength": 0, 
                                        "type": "string", 
                                        "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                        "maxLength": 261
                                      }, 
                                      "name": {
                                        "minLength": 0, 
                                        "type": "string", 
                                        "description": "Specifies the persona name, which must be combined with a type.", 
                                        "maxLength": 255
                                      }
                                    }
                                  }, 
                                  "null"
                                ]
                              }, 
                              "uid": {
                                "type": [
                                  {
                                    "type": "object", 
                                    "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                                    "properties": {
                                      "type": {
                                        "enum": [
                                          "user", 
                                          "group", 
                                          "wellknown"
                                        ], 
                                        "type": "string", 
                                        "description": "Specifies the type of persona, which must be combined with a name."
                                      }, 
                                      "id": {
                                        "minLength": 0, 
                                        "type": "string", 
                                        "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                        "maxLength": 261
                                      }, 
                                      "name": {
                                        "minLength": 0, 
                                        "type": "string", 
                                        "description": "Specifies the persona name, which must be combined with a type.", 
                                        "maxLength": 255
                                      }
                                    }
                                  }, 
                                  "null"
                                ]
                              }, 
                              "sid": {
                                "type": "object", 
                                "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                                "properties": {
                                  "type": {
                                    "enum": [
                                      "user", 
                                      "group", 
                                      "wellknown"
                                    ], 
                                    "type": "string", 
                                    "description": "Specifies the type of persona, which must be combined with a name."
                                  }, 
                                  "id": {
                                    "minLength": 0, 
                                    "type": "string", 
                                    "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                    "maxLength": 261
                                  }, 
                                  "name": {
                                    "minLength": 0, 
                                    "type": "string", 
                                    "description": "Specifies the persona name, which must be combined with a type.", 
                                    "maxLength": 255
                                  }
                                }
                              }
                            }
                          }, 
                          "type": "array", 
                          "maxItems": 4294967295
                        }
                      ]
                    }, 
                    "password_last_set": {
                      "required": false, 
                      "type": [
                        {
                          "minimum": 0, 
                          "type": "integer", 
                          "maximum": 4294967295
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the last time the password was set."
                    }, 
                    "gid": {
                      "required": false, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies a group ID for the user."
                    }, 
                    "provider": {
                      "required": true, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the authentication provider that the object belongs to."
                    }, 
                    "max_password_age": {
                      "required": false, 
                      "type": [
                        "integer", 
                        "null"
                      ], 
                      "description": "Specifies the maximum time in seconds allowed before the password expires."
                    }, 
                    "type": {
                      "minLength": 0, 
                      "required": true, 
                      "type": "string", 
                      "description": "Specifies the object type.", 
                      "maxLength": 255
                    }, 
                    "email": {
                      "required": false, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies an email address."
                    }, 
                    "dn": {
                      "required": true, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the distinguished name for the user."
                    }, 
                    "shell": {
                      "required": false, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 4096
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the path to the shell for the user."
                    }, 
                    "sid": {
                      "required": true, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }
                      ], 
                      "description": "Specifies the security identifier."
                    }, 
                    "expiry": {
                      "required": false, 
                      "type": [
                        {
                          "minimum": 0, 
                          "type": "integer", 
                          "maximum": 4294967295
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the Epoch time at which the authenticated user will expire."
                    }, 
                    "on_disk_user_identity": {
                      "required": false, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the user identity on the disk."
                    }, 
                    "password_expiry": {
                      "required": false, 
                      "type": [
                        {
                          "minimum": 0, 
                          "type": "integer", 
                          "maximum": 4294967295
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the time in Epoch seconds the password will expire."
                    }, 
                    "user_can_change_password": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the user password can be changed."
                    }, 
                    "expired": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the authenticated auth user is expired."
                    }, 
                    "upn": {
                      "required": false, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the user principal name."
                    }, 
                    "locked": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the account is locked out."
                    }, 
                    "name": {
                      "minLength": 0, 
                      "required": true, 
                      "type": "string", 
                      "description": "Specifies a user or group name.", 
                      "maxLength": 255
                    }, 
                    "member_of": {
                      "required": true, 
                      "type": [
                        {
                          "type": "null"
                        }, 
                        {
                          "minItems": 0, 
                          "items": {
                            "type": "object", 
                            "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                            "properties": {
                              "type": {
                                "enum": [
                                  "user", 
                                  "group", 
                                  "wellknown"
                                ], 
                                "type": "string", 
                                "description": "Specifies the type of persona, which must be combined with a name."
                              }, 
                              "id": {
                                "minLength": 0, 
                                "type": "string", 
                                "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                                "maxLength": 261
                              }, 
                              "name": {
                                "minLength": 0, 
                                "type": "string", 
                                "description": "Specifies the persona name, which must be combined with a type.", 
                                "maxLength": 255
                              }
                            }
                          }, 
                          "type": "array", 
                          "maxItems": 4294967295
                        }
                      ], 
                      "description": "Specifies the groups that this user or group are members of."
                    }, 
                    "enabled": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, the authenticated user is enabled."
                    }, 
                    "primary_group_sid": {
                      "required": false, 
                      "type": [
                        {
                          "type": "object", 
                          "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                          "properties": {
                            "type": {
                              "enum": [
                                "user", 
                                "group", 
                                "wellknown"
                              ], 
                              "type": "string", 
                              "description": "Specifies the type of persona, which must be combined with a name."
                            }, 
                            "id": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                              "maxLength": 261
                            }, 
                            "name": {
                              "minLength": 0, 
                              "type": "string", 
                              "description": "Specifies the persona name, which must be combined with a type.", 
                              "maxLength": 255
                            }
                          }
                        }
                      ], 
                      "description": "Specifies the security ID of the primary group for the user."
                    }, 
                    "gecos": {
                      "required": false, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 255
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the GECOS value, which is usually the full name."
                    }, 
                    "generated_uid": {
                      "required": false, 
                      "type": [
                        "boolean", 
                        "null"
                      ], 
                      "description": "If true, indicates that the UID was generated."
                    }, 
                    "home_directory": {
                      "required": false, 
                      "type": [
                        {
                          "minLength": 0, 
                          "type": "string", 
                          "maxLength": 4096
                        }, 
                        {
                          "type": "null"
                        }
                      ], 
                      "description": "Specifies the home directory for the user."
                    }, 
                    "prompt_password_change": {
                      "required": false, 
                      "type": "boolean", 
                      "description": "If true, prompts the user to change their password on next login."
                    }
                  }
                }, 
                "type": "array", 
                "maxItems": 4294967295
              }
            }
          }, 
          "type": "array", 
          "description": "Lookup a user access token."
        }
      }
    }
  ]
}
